File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ExTester Code Generator VSIX
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ runner-snapshot :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout Repository
15+ uses : actions/checkout@v4
16+
17+ - name : Setup NodeJS
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : 20
21+
22+ - name : Install vsce
23+ run : npm install -g @vscode/vsce
24+
25+ - name : Install
26+ run : npm ci
27+
28+ - name : Build
29+ run : npm run build
30+
31+ - name : 🛠 Read version from package.json
32+ id : version
33+ run : |
34+ VERSION=$(node -p 'require("./package.json").version')
35+ echo "version=$VERSION" >> $GITHUB_OUTPUT
36+
37+ - name : Package extension
38+ run : vsce package -o extester-code-generator-${{ steps.version.outputs.version }}.vsix
39+
40+ - name : 🧾 Inspect packaged contents
41+ run : vsce ls extester-code-generator-${{ steps.version.outputs.version }}.vsix
42+
43+ - name : 💾 Upload VSIX
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : extester-code-generator-${{ steps.version.outputs.version }}.vsix
47+ path : extester-code-generator-${{ steps.version.outputs.version }}.vsix
You can’t perform that action at this time.
0 commit comments