Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianks committed Feb 29, 2024
1 parent 379943a commit 36de8c0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
with:
node-version: '20'

- name: Build wasm binary
run: npx tree-sitter build-wasm
- name: Build artifacts
run: npm install && npm run build

- name: Get the version
id: get_version
Expand All @@ -43,6 +43,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./path/to/your.wasm
asset_name: your.wasm
asset_path: tree-sitter-sql.wasm
asset_name: tree-sitter-sql.wasm
asset_content_type: application/octet-stream
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ package-lock.json
/src/tree_sitter/
/src/parser.c
/src/*.json
tree-sitter-sql.wasm
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"scripts": {
"test": "tree-sitter test",
"install": "tree-sitter generate && node-gyp rebuild",
"release": "commit-and-tag-version"
"release": "commit-and-tag-version",
"build-wasm": "tree-sitter build-wasm",
"build": "npm run build-wasm"
},
"author": "derek stride",
"license": "MIT",
Expand Down

0 comments on commit 36de8c0

Please sign in to comment.