Skip to content

chore: update version to 0.5.2 in README, package.json, and package-l… #33

chore: update version to 0.5.2 in README, package.json, and package-l…

chore: update version to 0.5.2 in README, package.json, and package-l… #33

Workflow file for this run

name: Publish Extension
on:
push:
tags:
- 'v*.*.*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run compile
- run: npm run lint
- run: sudo apt-get update && sudo apt-get install -y xvfb
- run: /usr/bin/xvfb-run --auto-servernum --server-args='-screen 0 1024x768x24' npx vscode-test
- run: npx vsce package
- uses: actions/upload-artifact@v4
with:
name: vsix
path: '*.vsix'
- run: npx vsce publish -p "$VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}