Skip to content

Commit

Permalink
Publish dev version on npm to @next instead of @latest
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Jan 29, 2024
1 parent d1c1ce0 commit c576079
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1056,8 +1056,10 @@ jobs:
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
TAG: ${{ startsWith(github.head_ref, 'v') && 'latest' || 'next' }}
if: env.NODE_AUTH_TOKEN != null
run: |
echo "${TAG}"
./scripts/npm_publish_lib.sh
./scripts/npm_publish_shell.sh
./scripts/npm_publish_react.sh
Expand Down

0 comments on commit c576079

Please sign in to comment.