[editors/code] Add shebang syntaxe #9
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/**' | |
pull_request: | |
paths: | |
- 'editors/code/**' | |
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 | |
with: | |
path: v-analyzer | |
- name: Install dependencies | |
run: | | |
cd v-analyzer/editors/code | |
npm update | |
- name: Run tests | |
run: | | |
cd v-analyzer/editors/code | |
npm run test |