File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,10 @@ jobs:
8080 echo "exists=false" >> $GITHUB_OUTPUT
8181 echo "Version ${VERSION} does not exist, will publish"
8282 fi
83- env :
84- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
8583
8684 - name : Publish to NPM
8785 if : steps.check-exists.outputs.exists == 'false'
8886 run : npm publish --tag ${{ steps.version.outputs.tag }}
89- env :
90- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
9187
9288 - name : Update dist-tag (version already exists)
9389 if : steps.check-exists.outputs.exists == 'true' && github.ref_type == 'tag'
9894
9995 echo "Version ${VERSION} already published, updating dist-tag to ${TAG}"
10096 npm dist-tag add "${PACKAGE_NAME}@${VERSION}" "${TAG}"
101- env :
102- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
10397
10498 - name : Skip (pre-release already exists)
10599 if : steps.check-exists.outputs.exists == 'true' && github.ref_type != 'tag'
You can’t perform that action at this time.
0 commit comments