We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e58b24 commit c986e53Copy full SHA for c986e53
1 file changed
.github/workflows/publish.yml
@@ -70,7 +70,12 @@ jobs:
70
71
- name: Build library
72
run: npm run build
73
-
+ - name: Configure NPM for publishing
74
+ run: |
75
+ echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" > ~/.npmrc
76
+ npm whoami || echo "Not authenticated yet"
77
+ env:
78
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79
- name: Publish to NPM
80
if: github.event_name == 'release'
81
run: |
0 commit comments