Test setup-node PR#1467 authentication change #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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' | |
| mirror: 'https://httpbin.org' | |
| mirror-token: 'Bearer test-token' | |
| - name: Verify node and npm | |
| run: | | |
| node --version | |
| npm --version | |
| - name: Install dependencies from authenticated registry | |
| run: npm install |