Remove explicit installation of tree-sitter CLI in CI check job #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: 20 | |
- run: npm ci | |
- run: which tree-sitter || true | |
- run: | | |
echo "$PWD/node_modules/tree-sitter-cli/" >> "$GITHUB_PATH" | |
- run: | | |
echo "$PWD" | |
ls -R "$PWD" | |
echo "$GITHUB_PATH" | |
cat "$GITHUB_PATH" | |
which tree-sitter | |
- uses: tree-sitter/parser-test-action@v2 | |
with: | |
generate: true | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- uses: pre-commit/[email protected] |