Skip to content

Commit

Permalink
chore: use node 18, node-gyp 10 and python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gbprod committed Feb 5, 2024
1 parent 7c01af8 commit a9757e9
Show file tree
Hide file tree
Showing 3 changed files with 1,177 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.12'
- 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)"
Loading

0 comments on commit a9757e9

Please sign in to comment.