Skip to content

Commit 19b0c41

Browse files
committed
wip
1 parent 16a3ed8 commit 19b0c41

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@ jobs:
1616
with:
1717
node-version: 18
1818
registry-url: 'https://registry.npmjs.org/'
19+
20+
- name: Configure npm authentication
21+
run: |
22+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
1923
24+
- name: List
25+
run: |
26+
npm token list
27+
2028
- name: Check NPM Authentication
2129
env:
2230
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)