Skip to content

Commit 74e496f

Browse files
authored
Merge pull request #6 from dncsvr/issue/nuxt-module
Issue / Nuxt Module (Part 2)
2 parents 7bd4a17 + 215553d commit 74e496f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

nuxt-module/.github/workflows/npm-publish.yml renamed to .github/workflows/npm-publish.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ jobs:
1515
node-version: 22
1616
registry-url: 'https://registry.npmjs.org'
1717
- name: Build
18-
run: npm ci && npm run build
18+
run: |
19+
cd ./nuxt-module
20+
npm ci
21+
npm run build
1922
- name: Publish
20-
run: npm publish --access public
23+
run: |
24+
cd ./nuxt-module
25+
npm publish --access public
2126
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

nuxt-module/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ npm publish --access public
5555

5656
To publish your package using GitHub actions, you will need an access token for
5757
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)
5959

6060
## Notes
6161

0 commit comments

Comments
 (0)