Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 9 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,33 @@ name: CI
on:
push:
branches: [main]
paths:
- grammar.js
- src/**
- test/**
- bindings/**
- binding.gyp
- package.json
- package-lock.json
- .nvmrc
- .github/workflows/**
pull_request:
paths:
- grammar.js
- src/**
- test/**
- bindings/**
- binding.gyp
- package.json
- package-lock.json
- .nvmrc
- .github/workflows/**
branches: [main]

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

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
uses: actions/checkout@v6

- name: Set up tree-sitter
uses: tree-sitter/setup-action/cli@v2
with:
tree-sitter-ref: v0.26.8

- name: Run tests
uses: tree-sitter/parser-test-action@v2
uses: tree-sitter/parser-test-action@v3
with:
test-rust: true
test-node: false
test-node: false # https://github.com/tree-sitter/node-tree-sitter/issues/268
test-python: true
test-go: true
test-swift: false
16 changes: 16 additions & 0 deletions bindings/c/tree_sitter/tree-sitter-rescript.h

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

13 changes: 13 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json

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

48 changes: 24 additions & 24 deletions setup.py

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

Loading