Skip to content

Bump @types/vscode from 1.70.0 to 1.84.0 #355

Bump @types/vscode from 1.70.0 to 1.84.0

Bump @types/vscode from 1.70.0 to 1.84.0 #355

Workflow file for this run

name: VS Code extension CI/CD
on:
pull_request:
branches:
- main
push:
branches:
- main
release:
types:
- created
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Install dependencies
run: |
npm ci
npm run test-compile
- name: Run tests
uses: coactions/setup-xvfb@v1
with:
run: npm test
- name: Clean out folder
uses: JesseTG/[email protected]
with:
path: ${{ github.workspace }}/out
- name: Build extension
run: |
npm run compile
npm run package
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}