From 4118555f08da40e79933dcff43eabf471923e64b Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Tue, 11 Apr 2023 23:58:15 +0300 Subject: [PATCH] ci: fix github actions --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19b7bad2f..6b45026b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,12 +114,12 @@ jobs: node-version: ${{ matrix.node-version }} cache: "yarn" # Install old `jest` version and ignore platform problem for legacy node versions - - run: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 --ignore-engines - if: matrix.node-version == '10.x' || matrix.node-version == '12.x' + - run: yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 --frozen-lockfile --ignore-engines + if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x' - run: yarn --frozen-lockfile --ignore-engines - if: matrix.node-version == '10.x' || matrix.node-version == '12.x' + if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x' - run: yarn --frozen-lockfile - if: matrix.node-version != '10.x' && matrix.node-version != '12.x' + if: matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x' - run: yarn link --frozen-lockfile || true - run: yarn link webpack --frozen-lockfile - uses: actions/cache@v3