Skip to content

Commit 2ad0ca1

Browse files
committed
fix(ci): extract only tarball filename from npm pack output
The prepare script (husky install) prints to stdout during npm pack, corrupting the captured TARBALL variable and failing the global install smoke test on all platforms.
1 parent ed739f6 commit 2ad0ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
env:
6161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6262
run: |
63-
TARBALL=$(npm pack)
63+
TARBALL=$(npm pack | tail -1)
6464
npm install -g "./$TARBALL"
6565
bitsocial --version
6666

0 commit comments

Comments
 (0)