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 684cf56 commit 2a36da1Copy full SHA for 2a36da1
1 file changed
.github/workflows/npmpublish.yml
@@ -36,17 +36,12 @@ jobs:
36
- name: Upgrade npm for OIDC support (requires >=11.5.1)
37
run: npm install -g npm@latest
38
- run: npm i --legacy-peer-deps
39
- - name: Configure npm auth
40
- run: |
41
- if [[ -n "${{ secrets.NPM_TOKEN }}" ]]; then
42
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
43
- fi
44
- name: Publish to npm
45
run: |
46
if [[ "${{ github.ref }}" == *-beta ]]; then
47
- npm publish --tag beta --provenance
+ npm publish --tag beta
48
elif [[ "${{ github.ref }}" == *-lts ]]; then
49
- npm publish --tag lts --provenance
+ npm publish --tag lts
50
else
51
- npm publish --provenance
+ npm publish
52
fi
0 commit comments