Skip to content

Commit

Permalink
Auto generate the parser before npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekStride committed Dec 1, 2022
1 parent b34b7c6 commit 15142bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ jobs:
with:
node-version: 14
- run: npm install
- run: npm run generate
- run: npm run compile
- run: npm test
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"main": "bindings/node",
"scripts": {
"test": "tree-sitter test",
"generate": "tree-sitter generate",
"compile": "node-gyp rebuild"
"install": "tree-sitter generate && node-gyp rebuild"
},
"author": "derek stride",
"license": "MIT",
Expand Down

0 comments on commit 15142bb

Please sign in to comment.