Skip to content

Commit 59a2443

Browse files
fix new
1 parent f3a8970 commit 59a2443

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,14 @@ jobs:
2626
with:
2727
node-version: 22
2828
registry-url: https://registry.npmjs.org/
29-
- run: npm build
30-
- run: npm publish --provenance --access public
29+
30+
- name: Build package
31+
run: npm run build
32+
33+
- name: Change directory to dist
34+
run: cd dist
35+
36+
- name: Publish to npm
37+
run: npm publish --provenance --access public
3138
env:
3239
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 commit comments

Comments
 (0)