ci: simplify, cover CI changes #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VS Code extension tests | |
on: | |
push: | |
paths: | |
- 'editors/code/**' | |
- '**/vscode_extension_tests.yml' | |
pull_request: | |
paths: | |
- 'editors/code/**' | |
- '**/vscode_extension_tests.yml' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
fail-fast: false | |
name: Test VS Code Extension on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Checkout v-analyzer | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: cd editors/code && npm update | |
- name: Run tests | |
run: cd editors/code && npm run test |