0.4.1 #24
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
name: Publish | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
publish: | |
if: startsWith(github.ref, 'refs/tags/v') | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
- uses: pnpm/action-setup@v2 | |
with: | |
run_install: | | |
- recursive: true | |
args: [--frozen-lockfile, --strict-peer-dependencies] | |
- args: [--global, "@vscode/vsce"] | |
- name: Package | |
run: vsce package | |
- name: Publish to Github Releases | |
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 | |
with: | |
files: | | |
*.vsix | |
- name: Publish to VS Code Marketplace | |
run: vsce publish | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} |