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 18, 2023
1 parent 7e3ad5f commit e6179fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 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,20 @@ 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
registry-url: 'https://registry.npmjs.org'
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- 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)"
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"nan": "^2.17.0"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.7"
"tree-sitter-cli": "^0.20.8"
}
}

0 comments on commit e6179fb

Please sign in to comment.