Skip to content

Commit a4e4d60

Browse files
committed
Fixed npmpublish.
1 parent 814728e commit a4e4d60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ jobs:
5454
-
5555
run: |
5656
has_testcli_script () {
57-
[[ $(npm run | grep "^ test" | wc -l) > 0 ]]
57+
[[ $(pnpm run | grep "^ test" | wc -l) > 0 ]]
5858
}
5959
6060
if has_testcli_script; then
6161
pnpm run test
6262
else
63-
npm test
63+
echo "No test script found"
6464
fi
6565
name: Run tests if available
6666
-

0 commit comments

Comments
 (0)