Skip to content

Commit 5b33b32

Browse files
committed
chore(CI): remove yarn publish and use npm publish instead
1 parent 41b9318 commit 5b33b32

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
registry-url: https://registry.npmjs.org/
1717
- run: yarn install
1818
- run: yarn dev:build
19+
- run: npm run prepack
1920
- run: npm publish
2021
env:
2122
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"dev:build": "nuxi build playground",
4141
"dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground",
4242
"release": "npm run prepack && changelogen --release && git push --follow-tags",
43-
"publish": "npm run prepack && npm publish",
4443
"lint": "eslint .",
4544
"test": "vitest run",
4645
"test:watch": "vitest watch"

0 commit comments

Comments
 (0)