We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8559b95 commit a67d717Copy full SHA for a67d717
1 file changed
.github/workflows/test-1467.yml
@@ -0,0 +1,31 @@
1
+name: Test setup-node PR#1467 authentication change
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ test-auth-registry:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Checkout repository
12
+ uses: actions/checkout@v5
13
14
+ - name: Setup Node using PR#1467
15
+ uses: marco-ippolito/setup-node@fix-bearer-token
16
+ with:
17
+ node-version: 20
18
+ registry-url: https://registry.npmjs.org
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
21
22
+ - name: Verify node and npm
23
+ run: |
24
+ node --version
25
+ npm --version
26
27
+ - name: Install dependencies from authenticated registry
28
+ run: npm install
29
30
+ - name: Validate npm authentication
31
+ run: npm whoami
0 commit comments