Skip to content

Commit 2d31c09

Browse files
committed
wip
1 parent 87f3667 commit 2d31c09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/check-npm-token-permissions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
with:
1717
node-version: 18
1818
registry-url: 'https://registry.npmjs.org/'
19+
1920
- name: Check NPM Authentication
2021
run: |
2122
curl -H "Authorization: Bearer ${{ secrets.NPM_TOKEN}}" https://registry.npmjs.org/-/whoami || echo "Authentication failed"
@@ -24,7 +25,7 @@ jobs:
2425
run: |
2526
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
2627
27-
- run: npm whoami --registry=https://registry.npmjs.org/ || echo "Not authenticated"
28+
- run: npm whoami
2829

2930
- name: List Packages I can access
3031
run: |

0 commit comments

Comments
 (0)