This repository was archived by the owner on Mar 3, 2026. It is now read-only.
chore: bump version to 0.3.0 and update changelog for dependency updates #28
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: Release | ||
|
Check failure on line 1 in .github/workflows/release.yml
|
||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*.*.*' | ||
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v5 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: '20.x' | ||
| cache: 'npm' | ||
| - name: Install dependencies | ||
| run: npm ci | ||
| - name: Run tests | ||
| uses: coactions/setup-xvfb@v1 | ||
| with: | ||
| run: npm test | ||
| - name: Package extension | ||
| run: | | ||
| npx @vscode/vsce package | ||
| - name: Get version from tag | ||
| id: get_version | ||
| run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT | ||
| - name: Create GitHub Release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| files: '*.vsix' | ||
| generate_release_notes: true | ||
| draft: false | ||
| prerelease: false | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Publish to VS Code Marketplace | ||
| if: ${{ secrets.VSCE_PAT }} | ||
| run: npx @vscode/vsce publish --pat ${{ secrets.VSCE_PAT }} | ||
| - name: Publish to Open VSX Registry | ||
| if: ${{ secrets.OVSX_PAT }} | ||
| run: npx ovsx publish *.vsix --pat ${{ secrets.OVSX_PAT }} | ||