Skip to content

Commit c4a37ff

Browse files
committed
Add yarn force
1 parent 234d0fb commit c4a37ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ jobs:
2626
uses: actions/setup-node@v2
2727
with:
2828
node-version: ${{ matrix.node-version }}
29+
cache: yarn
2930
- name: install with jest v${{ matrix.jest-version }}
3031
run: |
3132
yarn add --dev jest@${{ matrix.jest-version }} babel-jest@${{ matrix.jest-version }}
32-
yarn
33+
yarn --force
3334
- name: run tests
3435
run: yarn test
3536
test-os:
@@ -45,7 +46,8 @@ jobs:
4546
- uses: actions/setup-node@v2
4647
with:
4748
node-version: lts/*
49+
cache: yarn --force
4850
- name: install
49-
run: yarn
51+
run: yarn --force
5052
- name: run tests
5153
run: yarn test

0 commit comments

Comments
 (0)