Skip to content

Commit

Permalink
fix(ci): generate the parser artifacts before cargo publish
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekStride committed Jul 30, 2024
1 parent 10d21e3 commit 8eb8308
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "bindings/node",
"scripts": {
"test": "tree-sitter test",
"install": "tree-sitter generate && node-gyp-build",
"install": "node-gyp-build",
"release": "commit-and-tag-version",
"prebuildify": "prebuildify --napi --strip"
},
Expand Down

0 comments on commit 8eb8308

Please sign in to comment.