diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f74806b..6dbd46e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -87,6 +87,9 @@ jobs: - name: Test Parser with Sample Code run: | + # Ensure parser is built + npm run build + cat << 'EOF' > test_sample.shellspec #!/usr/bin/env shellspec @@ -124,7 +127,7 @@ jobs: End EOF - npx tree-sitter parse --scope=source.shellspec test_sample.shellspec --quiet || { + npx tree-sitter parse test_sample.shellspec --quiet || { echo "❌ Parser failed on sample ShellSpec code" exit 1 }