Skip to content

Commit d10eaaa

Browse files
committed
fix github publish workflow
1 parent 429eb5f commit d10eaaa

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
run: |
1919
cd ./nuxt-module
2020
npm ci
21+
npm run prepare
2122
npm run prepack
2223
- name: Publish
2324
run: |

nuxt-module/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
],
2424
"scripts": {
2525
"prepack": "nuxt-module-build build",
26+
"prepare": "nuxi prepare",
2627
"dev": "nuxi dev playground",
2728
"dev:build": "nuxi build playground",
2829
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",

0 commit comments

Comments
 (0)