Skip to content

0.3.6

0.3.6 #22

Workflow file for this run

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@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
with:
files: |
*.vsix
- name: Publish to VS Code Marketplace
run: vsce publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}