feat: update test workflow to use PKG_READ_TOKEN for NODE_AUTH_TOKEN

This commit is contained in:
Usman Baig
2026-03-01 00:20:17 +01:00
parent 9a39745323
commit 6bb356697b

View File

@@ -7,6 +7,10 @@ on:
pull_request:
branches: [main, staging]
permissions:
contents: read
packages: read
jobs:
test:
name: unit-tests
@@ -23,7 +27,7 @@ jobs:
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PKG_READ_TOKEN }}
- name: Run tests
run: npm test