0.4.0 [PREVIEW] #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build extension | |
on: | |
push: | |
branches: | |
- dev | |
release: | |
types: [published] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
name: Build extension | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
- name: Install dependencies | |
working-directory: . | |
run: npm install | |
- name: Build extension | |
working-directory: . | |
run: npm run compile | |
- name: Generate VSCode extension file | |
working-directory: . | |
run: | | |
mkdir bin | |
npm run package -- --out ./bin/extension.vsix | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: results | |
path: | | |
./out | |
./bin |