1 parent f4b1bda commit 1b51f2fCopy full SHA for 1b51f2f
1 file changed
.github/workflows/ci.yml
@@ -155,7 +155,16 @@ jobs:
155
env:
156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157
158
- - name: 🚚 Publish to NPM
+ - name: � Setup NPM Authentication
159
+ run: |
160
+ mkdir -p ~/.npm
161
+ cat > ~/.npmrc << EOF
162
+ //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
163
+ registry=https://registry.npmjs.org/
164
+ EOF
165
+ chmod 600 ~/.npmrc
166
+
167
+ - name: �🚚 Publish to NPM
168
run: npm publish --access public
169
170
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments