Skip to content

Commit b58f138

Browse files
authored
Merge pull request #499 from VividLemon/main
fix: remove publish script to stop duplication
2 parents 1e296b1 + 0f47663 commit b58f138

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
node-version: 16
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm install
31-
- run: npm publish
31+
- run: npm publish --tag develop
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
if: ${{ steps.release.outputs.release_created }}
2727
- run: npm install
2828
if: ${{ steps.release.outputs.release_created }}
29-
- run: npm publish
29+
- run: npm publish --tag develop
3030
env:
3131
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3232
if: ${{ steps.release.outputs.release_created }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"test": "npm run test:lint && npm run test:unit",
3939
"test:lint": "npm run lint",
4040
"test:unit": "vitest",
41-
"publish": "npm publish --tag develop",
4241
"prepare": "husky install && npm run build"
4342
},
4443
"dependencies": {

0 commit comments

Comments
 (0)