Skip to content

Commit

Permalink
npm publishを分離する (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
dc7290 authored Mar 9, 2023
1 parent f75eacb commit 9b61ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
cache: 'yarn'
- run: yarn install --frozen-lockfile
- name: release on npm
run: yarn release
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"lint": "eslint .",
"prepack": "nuxt-module-build",
"release": "nuxi prepare playground && yarn lint && yarn prepack && npm publish --registry https://registry.npmjs.org"
"prepublishOnly": "nuxi prepare playground && yarn lint && nuxt-module-build"
},
"dependencies": {
"@nuxt/kit": "^3.2.0",
Expand Down

0 comments on commit 9b61ed2

Please sign in to comment.