Skip to content

Commit 100939e

Browse files
committed
chore: test token for cloning
1 parent 33797a2 commit 100939e

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
uses: actions/setup-node@v4
2424
with:
2525
node-version: ${{ matrix.node-version }}
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.WS_UTF_AUTH }}
2628

2729
- name: Cache Node Modules
2830
id: cache
@@ -33,9 +35,16 @@ jobs:
3335
ws-nextjs-app/node_modules
3436
key: node-modules-${{ hashFiles('yarn.lock', 'ws-nextjs-app/yarn.lock') }}
3537

36-
- name: Install Unified Testing Framework
37-
run: |
38-
git clone https://oauth2:$WS_UTF_AUTH@github.com/bbc/unified-web-e2e-framework.git
38+
# - name: Install Unified Testing Framework
39+
# run: |
40+
# git clone https://oauth2:$WS_UTF_AUTH@github.com/bbc/unified-web-e2e-framework.git
41+
42+
- name: use auth token for yarn
43+
uses: v-venes/create-npmrc@v1.0.0
44+
with:
45+
org_name: bbc
46+
auth_token: WS_UTF_AUTH
47+
always_auth: true
3948

4049
- name: Install Node Modules
4150
if: steps.cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)