Skip to content

switch back again to pnpm #30

switch back again to pnpm

switch back again to pnpm #30

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- run: pnpm run build
- run: node ./build-vsix.mjs
- uses: actions/upload-artifact@v4
with:
path: "vsix/**/*.vsix"
publish:
runs-on: ubuntu-latest
needs: build
if: success() && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v4
- run: pnpm vsce publish --packagePath $(find . -iname *.vsix)
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}