Skip to content
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

chore: bump version to 0.3.0 and update changelog for dependency updates

chore: bump version to 0.3.0 and update changelog for dependency updates #28

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 49, Col: 11): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.VSCE_PAT, (Line: 53, Col: 11): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.OVSX_PAT
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 }}