chore: update version to 0.5.2 in README, package.json, and package-l… #33
Workflow file for this run
This file contains hidden or 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: Publish Extension | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run compile | |
| - run: npm run lint | |
| - run: sudo apt-get update && sudo apt-get install -y xvfb | |
| - run: /usr/bin/xvfb-run --auto-servernum --server-args='-screen 0 1024x768x24' npx vscode-test | |
| - run: npx vsce package | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: vsix | |
| path: '*.vsix' | |
| - run: npx vsce publish -p "$VSCE_TOKEN" | |
| env: | |
| VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} |