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 d1d83b5 commit 7f53c1aCopy full SHA for 7f53c1a
.github/workflows/publish.yml
@@ -149,11 +149,19 @@ jobs:
149
echo "Generated CHANGELOG.md"
150
cat CHANGELOG.md
151
152
+ - name: 🔧 Config .npmrc
153
+ if: ${{ github.event.inputs.skipPublish != 'true' }}
154
+ run: |
155
+ {
156
+ echo "registry=https://registry.npmjs.com"
157
+ echo "//registry.npmjs.com/:_authToken=${NPM_TOKEN}"
158
+ } > .npmrc
159
+
160
- name: 🚀 Publish to NPM registry (npmjs)
161
if: ${{ github.event.inputs.skipPublish != 'true' }}
162
run: npm run publish -- --yes
163
env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
164
+ NPM_TOKEN: ${{secrets.NPM_TOKEN}}
165
166
- name: 📣 Add summary
167
0 commit comments