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 87f3667 commit 2d31c09Copy full SHA for 2d31c09
.github/workflows/check-npm-token-permissions.yml
@@ -16,6 +16,7 @@ jobs:
16
with:
17
node-version: 18
18
registry-url: 'https://registry.npmjs.org/'
19
+
20
- name: Check NPM Authentication
21
run: |
22
curl -H "Authorization: Bearer ${{ secrets.NPM_TOKEN}}" https://registry.npmjs.org/-/whoami || echo "Authentication failed"
@@ -24,7 +25,7 @@ jobs:
24
25
26
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
27
- - run: npm whoami --registry=https://registry.npmjs.org/ || echo "Not authenticated"
28
+ - run: npm whoami
29
30
- name: List Packages I can access
31
0 commit comments