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 9dfca9c commit 66041e1Copy full SHA for 66041e1
.github/workflows/check-npm-token-permissions.yml
@@ -11,6 +11,10 @@ jobs:
11
- name: Checkout repository
12
uses: actions/checkout@v4
13
14
+ - name: Configure npm authentication
15
+ run: |
16
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
17
+
18
- name: Set up Node.js
19
uses: actions/setup-node@v4
20
with:
@@ -21,9 +25,6 @@ jobs:
21
25
run: |
22
26
curl -H "Authorization: Bearer ${{ secrets.NPM_TOKEN}}" https://registry.npmjs.org/-/whoami
23
27
24
- - name: Configure npm authentication
- run: |
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
28
29
- name: List Packages I can access
30
0 commit comments