Skip to content

Commit 7156cb7

Browse files
fix new
1 parent 59a2443 commit 7156cb7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
node-version: 22
1818
- run: npm run build
1919

20+
- name: Change directory to dist
21+
run: cd dist
22+
2023
publish-npm:
2124
needs: build
2225
runs-on: ubuntu-latest
@@ -27,13 +30,7 @@ jobs:
2730
node-version: 22
2831
registry-url: https://registry.npmjs.org/
2932

30-
- name: Build package
31-
run: npm run build
32-
33-
- name: Change directory to dist
34-
run: cd dist
35-
3633
- name: Publish to npm
37-
run: npm publish --provenance --access public
34+
run: npm publish --access public
3835
env:
3936
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 commit comments

Comments
 (0)