VSCode Cairo Extension CI #3991
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: VSCode Cairo Extension CI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'vscode-cairo/**' | |
pull_request: | |
paths: | |
- 'vscode-cairo/**' | |
merge_group: | |
jobs: | |
fmt-and-lint: | |
name: format and lint | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./vscode-cairo | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '22.x' | |
cache: npm | |
cache-dependency-path: vscode-cairo/package-lock.json | |
- run: npm ci | |
- run: npm run lint-fmt | |
- run: npm run lint-eslint | |
- run: npm run compile-test | |
- run: npm run test |