Skip to content

Commit 0eb4659

Browse files
authored
Update ci (#278)
1 parent 21f5f51 commit 0eb4659

5 files changed

Lines changed: 64 additions & 54 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,54 +2,33 @@ name: CI
22
on:
33
push:
44
branches: [main]
5-
paths:
6-
- grammar.js
7-
- src/**
8-
- test/**
9-
- bindings/**
10-
- binding.gyp
11-
- package.json
12-
- package-lock.json
13-
- .nvmrc
14-
- .github/workflows/**
155
pull_request:
16-
paths:
17-
- grammar.js
18-
- src/**
19-
- test/**
20-
- bindings/**
21-
- binding.gyp
22-
- package.json
23-
- package-lock.json
24-
- .nvmrc
25-
- .github/workflows/**
6+
branches: [main]
267

278
concurrency:
289
group: ${{github.workflow}}-${{github.ref}}
2910
cancel-in-progress: true
3011

3112
jobs:
3213
test:
33-
runs-on: ubuntu-latest
14+
runs-on: ${{matrix.os}}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [ubuntu-latest, windows-latest, macos-latest]
3419
steps:
3520
- name: Checkout repository
36-
uses: actions/checkout@v4
37-
38-
- name: Set up Node.js
39-
uses: actions/setup-node@v4
40-
with:
41-
node-version-file: '.nvmrc'
21+
uses: actions/checkout@v6
4222

4323
- name: Set up tree-sitter
4424
uses: tree-sitter/setup-action/cli@v2
4525
with:
4626
tree-sitter-ref: v0.26.8
4727

4828
- name: Run tests
49-
uses: tree-sitter/parser-test-action@v2
29+
uses: tree-sitter/parser-test-action@v3
5030
with:
5131
test-rust: true
52-
test-node: false
32+
test-node: false # https://github.com/tree-sitter/node-tree-sitter/issues/268
5333
test-python: true
5434
test-go: true
55-
test-swift: false

bindings/c/tree_sitter/tree-sitter-rescript.h

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

setup.py

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)