Skip to content

Commit 18d5e7d

Browse files
committed
Fix npm-publish GH action
1 parent 20e7a3a commit 18d5e7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- run: npm test
2828

2929
publish-npm:
30+
needs: build-and-test
3031
runs-on: ubuntu-latest
3132
steps:
3233
- uses: actions/checkout@v4
@@ -35,7 +36,7 @@ jobs:
3536
node-version: 21
3637
registry-url: https://registry.npmjs.org/
3738
- run: npm ci
38-
- run: npm build
39+
- run: npm run build
3940
- run: npm publish
4041
env:
4142
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)