Skip to content

Commit d7e7319

Browse files
committed
chore: try to use yarn config set
1 parent e23b582 commit d7e7319

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/simorgh-unit-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ jobs:
4343
uses: v-venes/create-npmrc@v1.0.0
4444
with:
4545
org_name: bbc
46-
auth_token: WS_UTF_AUTH
46+
auth_token: $WS_UTF_AUTH
4747
always_auth: true
4848

4949
- name: Install Node Modules
5050
if: steps.cache.outputs.cache-hit != 'true'
51-
run: ./scripts/installNodeModules.sh
51+
run: |
52+
yarn config set 'npmRegistries["//npm.example.com"].npmAuthToken' $WS_UTF_AUTH
53+
./scripts/installNodeModules.sh
5254
5355
- name: Build Simorgh - Express App
5456
run: yarn build

0 commit comments

Comments
 (0)