Skip to content

Commit

Permalink
Merge pull request #65 from vordgi/ncm-60
Browse files Browse the repository at this point in the history
ncm-60 update publishing logic on canary
  • Loading branch information
vordgi authored Jan 31, 2024
2 parents 3f2c40b + 96fdd5b commit 71a5ec9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Update version on canary
if: contains(github.ref_name, 'canary')
run: npm version --no-git-tag-version ${{github.ref_name}}

- name: Publish on canary
if: contains(github.ref_name, 'canary')
run: |
npm version --no-git-tag-version ${{github.ref_name}}
npm publish --tag canary
run: npm publish --tag canary
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 71a5ec9

Please sign in to comment.