File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish vsix package
2+
3+ on :
4+ push :
5+
6+ env :
7+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8+
9+ jobs :
10+ run :
11+ name : Build and Run
12+ strategy :
13+ matrix :
14+ java-version : [17]
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout current branch (full)
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ # install java, sbt and node
22+ - name : Setup Java
23+ uses : actions/setup-java@v4
24+ with :
25+ distribution : temurin
26+ java-version : ${{ matrix.java-version }}
27+ cache : sbt
28+ - uses : sbt/setup-sbt@v1
29+
30+ - name : setup node
31+ uses : actions/setup-node@v4
32+
33+ # install dependencies and build package
34+ - name : compile Scala.js
35+ run : sbt fastOptJS
36+
37+ - name : install dependencies
38+ run : cp package.json out/ && npm
39+
40+ - name : package extension
41+ run : cd out/ && npx vsce package
You can’t perform that action at this time.
0 commit comments