Skip to content

Commit 5d105df

Browse files
author
sai-praveen-os
committed
fix(connectivity_check): configure GitHub Packages registry for @janus.team scope
PLATEXP-11106 - Configure setup-node action to use GitHub Packages registry - Add .npmrc to configure @janus.team scope registry - Use NODE_AUTH_TOKEN environment variable for authentication - This fixes the 404 error when installing @janus.team/janus-core
1 parent 7e00d5a commit 5d105df

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build-lambda.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717
uses: actions/setup-node@v4
1818
with:
1919
node-version: '22'
20-
21-
- name: Configure npm authentication
22-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.JANUS_NPM_TOKEN }}" > ~/.npmrc
20+
registry-url: 'https://npm.pkg.github.com'
21+
scope: '@janus.team'
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.JANUS_NPM_TOKEN }}
2324

2425
- name: Build Lambda package
2526
run: |
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@janus.team:registry=https://npm.pkg.github.com
2+
//npm.pkg.github.com/:_authToken=${JANUS_NPM_TOKEN}

0 commit comments

Comments
 (0)