chore(deps-dev): bump @types/node from 18.19.128 to 24.6.0 #6
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: 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@v4 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| 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: | | ||
| npm install -g @vscode/vsce | ||
| 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@v1 | ||
| with: | ||
| files: '*.vsix' | ||
| generate_release_notes: true | ||
| draft: false | ||
| prerelease: false | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Publish to VS Code Marketplace | ||
| run: vsce publish --pat ${{ secrets.VSCE_PAT }} | ||
| if: ${{ secrets.VSCE_PAT != '' }} | ||
| - name: Publish to Open VSX Registry | ||
| run: | | ||
| npm install -g ovsx | ||
| ovsx publish *.vsix --pat ${{ secrets.OVSX_PAT }} | ||
| if: ${{ secrets.OVSX_PAT != '' }} | ||