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 2d1e84b commit 87f3667Copy full SHA for 87f3667
.github/workflows/check-npm-token-permissions.yml
@@ -16,7 +16,10 @@ jobs:
16
with:
17
node-version: 18
18
registry-url: 'https://registry.npmjs.org/'
19
-
+ - name: Check NPM Authentication
20
+ run: |
21
+ curl -H "Authorization: Bearer ${{ secrets.NPM_TOKEN}}" https://registry.npmjs.org/-/whoami || echo "Authentication failed"
22
+
23
- name: Configure npm authentication
24
run: |
25
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
0 commit comments