File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 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,13 +35,27 @@ 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'
42- run : ./scripts/installNodeModules.sh
51+ run : |
52+ mkdir -p ~/.ssh
53+ echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_rsa
54+ chmod 700 ~/.ssh
55+ chmod 600 ~/.ssh/id_rsa
56+ eval "$(ssh-agent -s)"
57+ ssh-add ~/.ssh/id_rsa
58+ ./scripts/installNodeModules.sh
4359
4460 - name : Build Simorgh - Express App
4561 run : yarn build
You can’t perform that action at this time.
0 commit comments