Skip to content

Commit

Permalink
fix(ci): use tree-sitter parser actions
Browse files Browse the repository at this point in the history
  • Loading branch information
6cdh committed Mar 12, 2024
1 parent feda280 commit e240fcc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- name: Set up the repo
uses: tree-sitter/parser-setup-action@v1.1
with:
node-version: 16
- run: npm install
- run: npm test
node-version: ${{vars.NODE_VERSION}}
- name: Run tests
uses: tree-sitter/parser-test-action@v1.2
with:
lint: ${{runner.os == 'Linux'}}
test-library: ${{runner.os == 'Linux'}}
corpus-files: corpus/*

# chez:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit e240fcc

Please sign in to comment.