chore(ci): Fixed Release CI script #17
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
name: release | |
on: | |
push: | |
branches: [main] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: npm run ci:all | |
- run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# In case you want to publish to Visual Studio Marketplace | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
# In case you want to publish to Open VSX Registry | |
#OVSX_PAT: ${{ secrets.OVSX_PAT }} |