We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d931394 commit bf9932eCopy full SHA for bf9932e
.github/workflows/02-publish.yml
@@ -37,11 +37,12 @@ jobs:
37
- name: 🔜 Publish to npm
38
env:
39
TAG: ${{ steps.extractTag.outputs.tag }}
40
+ NPM_TAG: ${{ github.event.release.prerelease && 'next' || 'latest' }}
41
run: |
42
echo "node, npm and release version:"
43
node -v
44
npm -v
45
SEMVER_VERSION=$(npx find-versions-cli "$TAG")
46
npm version --no-git-tag-version "$SEMVER_VERSION"
47
npm config set registry https://registry.npmjs.org/
- npm publish --provenance
48
+ npm publish --provenance --tag $NPM_TAG
0 commit comments