diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b16762..1ac460e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,13 +5,17 @@ on: branches: [master] paths: - grammar.js + - utils.js - src/** + - test/** - bindings/** - binding.gyp pull_request: paths: - grammar.js + - utils.js - src/** + - test/** - bindings/** - binding.gyp @@ -28,11 +32,11 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-14] steps: - - name: Set up repository - uses: tree-sitter/parser-setup-action@v1.1 - with: - node-version: ${{vars.NODE_VERSION}} + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up tree-sitter + uses: tree-sitter/setup-action/cli@v1 - name: Run tests - uses: tree-sitter/parser-test-action@v1.2 + uses: tree-sitter/parser-test-action@v2 with: - test-library: ${{runner.os == 'Linux'}} + test-rust: ${{runner.os == 'Linux'}}