Skip to content

Commit 042751a

Browse files
author
延枚
committed
修改publish的actions
1 parent 2fa75ff commit 042751a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
node-version: 20
2828
registry-url: https://registry.npmjs.org/
29-
- run: npm run build
29+
- run: npm install && npm run build
3030
- run: npm publish
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)