Skip to content

Commit 15142bb

Browse files
committed
Auto generate the parser before npm install
1 parent b34b7c6 commit 15142bb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ jobs:
2020
with:
2121
node-version: 14
2222
- run: npm install
23-
- run: npm run generate
24-
- run: npm run compile
2523
- run: npm test

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"main": "bindings/node",
66
"scripts": {
77
"test": "tree-sitter test",
8-
"generate": "tree-sitter generate",
9-
"compile": "node-gyp rebuild"
8+
"install": "tree-sitter generate && node-gyp rebuild"
109
},
1110
"author": "derek stride",
1211
"license": "MIT",

0 commit comments

Comments
 (0)