Add make build step #2
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
on: | |
push: | |
branches: | |
- spalmurray/test-publish-workflow | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- run: npm run build | |
- run: make build | |
- run: make run | |
- run: npm install -g @vscode/vsce | |
- run: vsce publish --no-update-package-json "$VSCE_VERSION" | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
VSCE_VERSION: ${{ secrets.VSCE_VERSION }} | |