File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 15
15
node-version : 22
16
16
registry-url : ' https://registry.npmjs.org'
17
17
- name : Build
18
- run : npm ci && npm run build
18
+ run : |
19
+ cd ./nuxt-module
20
+ npm ci
21
+ npm run build
19
22
- name : Publish
20
- run : npm publish --access public
23
+ run : |
24
+ cd ./nuxt-module
25
+ npm publish --access public
21
26
env :
22
- NODE_AUTH_TOKEN : ${{ secrets.NPM_ACCESS_TOKEN }}
27
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ npm publish --access public
55
55
56
56
To publish your package using GitHub actions, you will need an access token for
57
57
your npm account. Create and store your access token in github secrets and
58
- use in your workflow. [ npm publish] ( .github/workflows/npm-publish.yml )
58
+ use in your workflow. [ npm publish] ( ../. github/workflows/npm-publish.yml )
59
59
60
60
## Notes
61
61
You can’t perform that action at this time.
0 commit comments