Skip to content

Commit 7e1019b

Browse files
committed
wip
1 parent 9d6f202 commit 7e1019b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ jobs:
1616
with:
1717
node-version: 18
1818
registry-url: 'https://registry.npmjs.org/'
19+
1920

2021
- name: Configure npm authentication
2122
run: |
2223
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
2324
25+
- run: npm whoami --registry=https://registry.npmjs.org/ || echo "Not authenticated"
26+
2427
- name: List Packages I can access
2528
run: |
2629
npm access list packages

0 commit comments

Comments
 (0)