diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 3a91210a..873620e6 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -21,12 +21,12 @@ jobs: # The ref will be the tag name. Match against tags like # "v1.0.0-canary.0". if: ${{ contains(github.ref, '-canary.') }} - run: npm publish --tag canary --dry-run + run: npm publish --tag canary env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - name: Release latest version # Assume non-canary is latest. if: ${{ !contains(github.ref, '-canary.') }} - run: npm publish --dry-run + run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}