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 extension
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ name : Build extension
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 15
13+
14+ defaults :
15+ run :
16+ shell : bash
17+
18+ steps :
19+ - name : Setup Node
20+ uses : actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
21+ with :
22+ node-version : 20
23+
24+ - name : Checkout repository
25+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
26+
27+ - name : Install dependencies
28+ run : npm run ci
29+
30+ - name : Build TypeScript
31+ run : npm run build
32+
33+ - name : Package extension
34+ run : npm run package
35+
36+ - name : Upload extension as artifact
37+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
38+ with :
39+ name : extension-${{ github.sha }}
40+ path : ./out/vscode-mojo.vsix
41+ retention-days : 14
You can’t perform that action at this time.
0 commit comments