From c4a37ff6827defe5227c22e763bb3ed1219e0748 Mon Sep 17 00:00:00 2001 From: Jason Palmer Date: Fri, 14 Jun 2024 16:50:41 -0400 Subject: [PATCH] Add yarn force --- .github/workflows/nodejs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 9996fcc..c8aa33e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -26,10 +26,11 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: yarn - name: install with jest v${{ matrix.jest-version }} run: | yarn add --dev jest@${{ matrix.jest-version }} babel-jest@${{ matrix.jest-version }} - yarn + yarn --force - name: run tests run: yarn test test-os: @@ -45,7 +46,8 @@ jobs: - uses: actions/setup-node@v2 with: node-version: lts/* + cache: yarn --force - name: install - run: yarn + run: yarn --force - name: run tests run: yarn test