Skip to content

Commit a67d717

Browse files
Create test-1467.yml
1 parent 8559b95 commit a67d717

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test-1467.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)