v0.6.17 #38
Workflow file for this run
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
on: | |
release: | |
types: [created] | |
workflow_dispatch: | |
jobs: | |
release: | |
name: Release and publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm install | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install the dependencies | |
run: npm i | |
- name: Install vsce and Open VSX | |
run: npm i -g vsce ovsx | |
- name: Publish to VS Code Marketplace | |
id: pub_vsce | |
run: | | |
vsce publish -p ${{ secrets.VSCE_TOKEN }} | |
- name: Publish to Open VSX | |
id: pub_ovsx | |
run: | | |
npx ovsx publish -p ${{ secrets.OPEN_VSX }} |