We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 572745b commit 64cd19aCopy full SHA for 64cd19a
1 file changed
.github/workflows/npm-publish.yml
@@ -32,15 +32,12 @@ jobs:
32
registry-url: "https://registry.npmjs.org"
33
cache: "npm"
34
- run: npm ci
35
+ - run: npm i -g npm@latest
36
- run: npm run build --if-present
37
- run: npm version ${TAG_NAME} --git-tag-version=false
38
env:
39
TAG_NAME: ${{ github.ref_name }}
40
- run: npm publish --provenance --access public --tag next
41
if: "github.event.release.prerelease"
- env:
42
- NODE_AUTH_TOKEN: ${{ secrets.npm_secret }}
43
- run: npm publish --provenance --access public
44
if: "!github.event.release.prerelease"
45
46
0 commit comments