Skip to content

Commit

Permalink
ci: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Apr 19, 2024
1 parent 514695d commit 1fc8099
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -28,11 +32,11 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
steps:
- name: Set up repository
uses: tree-sitter/[email protected]
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'}}

0 comments on commit 1fc8099

Please sign in to comment.