Skip to content

fix vscode template #36

fix vscode template

fix vscode template #36

Workflow file for this run

name: vscode extension ci
on:
push:
branches: [ "master" ]
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
if [ -f package-lock.json ]; then
npm ci
else
npm install
fi
npx tsc
- name: Install VSCE
if: matrix.node-version == '22.x'
run: npm install -g vsce
- name: Build VSIX
if: matrix.node-version == '22.x'
run: vsce package