Skip to content

Commit

Permalink
chore: use node 18 and node-gyp 9
Browse files Browse the repository at this point in the history
  • Loading branch information
gbprod committed Dec 14, 2023
1 parent 7e3ad5f commit f4fc575
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# cancel-in-progress: true

jobs:
test:
Expand All @@ -24,17 +24,18 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20.10.x'
node-version: 18
architecture: 'x86'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Run tree-sitter tests
run: npm test
- name: Ensure generated parser files are up-to-date
# On Windows and Macos, tree-sitter generate results in a diff, not sure why
if: runner.os != 'Windows' && runner.os != 'macOS'
if: runner.os != 'Windows'
run: |
git status
test -z "$(git status --porcelain)"

0 comments on commit f4fc575

Please sign in to comment.