Skip to content

Commit

Permalink
chore: fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
arturosdg committed Oct 17, 2024
1 parent e9e555d commit 608ae4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Publish package
run: |
if [[ ${{ github.ref }} == *-beta* ]]; then
npm publish --tag beta
npm run publish-package:beta
else
npm publish
npm run publish-package
fi
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"test:publish": "npm publish --dry-run",
"build:types": "tsc --build",
"publish-package": "npm run build && npm publish",
"publish-package:beta": "npm run build && npm publish --tag beta",
"typecheck": "tsc --noEmit dist/index.d.ts"
},
"repository": {
Expand Down

0 comments on commit 608ae4f

Please sign in to comment.