Skip to content

Commit 700700a

Browse files
committed
use yarn instead of npm
1 parent 2c86d52 commit 700700a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
28+
cache: 'yarn'
2929
cache-dependency-path: static/src/yarn.lock
3030
- name: Pre setup
3131
run: |
32-
npm cache clean --force
33-
rm -rf ~/.npm
3432
TASK_PRESENTER_VERSION=$(node -p "require('./package.json').dependencies['@dtwebservices/task-presenter-components']")
3533
npm install https://s3.amazonaws.com/cf-s3uploads/pybv/${TASK_PRESENTER_VERSION}/task-presenter-components.tgz
3634
working-directory: static/src
37-
- run: yarn webpack
35+
- name: Build (webpack)
36+
env:
37+
NODE_OPTIONS: --openssl-legacy-provider
38+
run: yarn webpack
3839
working-directory: static/src
3940
- run: yarn test
4041
working-directory: static/src

0 commit comments

Comments
 (0)