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 0a229a0 commit 53b30c6Copy full SHA for 53b30c6
.github/workflows/publish.yaml
@@ -122,10 +122,13 @@ jobs:
122
- name: Install modules
123
run: yarn install --ignore-scripts
124
- run: npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
125
+ env:
126
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
127
- name: Publish NPM release
128
run: |
129
+ set -x
130
# If it's not a simple 1.2.3 version, then it's a prerelease of some kind.
- if ! [[ ${TAG} =~ ^[0-9.]*$ ]] ; then
131
+ if ! [[ ${{ github.event.release.tag_name }} =~ ^[0-9.]*$ ]] ; then
132
PRE="--prerelease"
133
fi
134
node publish.js --publish "${PRE}"
0 commit comments