Skip to content

Test setup-node PR#1467 authentication change #4

Test setup-node PR#1467 authentication change

Test setup-node PR#1467 authentication change #4

Workflow file for this run

name: Test setup-node PR#1467 authentication change
on:
workflow_dispatch:
jobs:
test-auth-registry:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Node using PR#1467
# uses: marco-ippolito/setup-node@fix-bearer-token
uses : actions/setup-node@v6
with:
node-version: 20
registry-url: https://npm.pkg.github.com
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Verify node and npm
run: |
node --version
npm --version
- name: Install dependencies from authenticated registry
run: npm install
- name: Validate npm authentication
run: npm whoami