v2.12.0 release #19
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 | |
on: | |
release: | |
types: | |
- published | |
workflow_dispatch: | |
jobs: | |
build: | |
name: "Build and release" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install the dependencies | |
run: npm ci | |
- name: Test | |
run: npm test | |
- name: Publish | |
run: npx @vscode/vsce publish -p ${{ secrets.VSCE_PAT }} | |
- name: Publish to open-vsx.org | |
run: npx ovsx publish -p ${{ secrets.OPEN_VSX_PAT }} |