Skip to content

Commit bb181f4

Browse files
fix: update github source
1 parent e03121d commit bb181f4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848
- name: Install dependencies
4949
run: pnpm install
5050
- name: Build x64 binary
51-
run: pnpm -r build
51+
run: |
52+
pnpm -r source
53+
pnpm -r build
5254
- name: Test binary
5355
run: pnpm -r test
5456
- name: Upload binaries
@@ -82,6 +84,8 @@ jobs:
8284
path: packages/${{inputs.package-name}}/prebuilds
8385
pattern: prebuild-*
8486
# merge-multiple: true
87+
- name: Move sources
88+
run: pnpm -r source
8589
- name: Check binaries
8690
run: tree packages/${{inputs.package-name}}
8791
- name: Publish to npm

packages/toml/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"build": "tree-sitter build -o parser.so",
8+
"source": "node nursery.js source",
89
"prepublishOnly": "node nursery.js source",
910
"postinstall": "node postinstall.js",
1011
"test": "node nursery.js test"

0 commit comments

Comments
 (0)