Skip to content

Commit 4f6820f

Browse files
committed
fix lerna check
1 parent 96ad980 commit 4f6820f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,11 @@ jobs:
423423
key: ${{ env.BUILD_CACHE_KEY }}
424424
- name: Run tests
425425
env:
426-
NODE_VERSION: ${{ matrix.node }}
426+
NEEDS_OLD_TS_NODE: ${{ matrix.node == 8 }}
427+
NEEDS_OLD_LERNA: ${{ matrix.node > 8 && matrix.node < 14 }}
427428
run: |
428-
[[ $NODE_VERSION == 8 ]] && yarn add --dev --ignore-engines --ignore-scripts --ignore-workspace-root-check [email protected] [email protected]
429-
[[ $NODE_VERSION == 10 || $NODE_VERSION == 12 ]] && yarn add --dev --no-lockfile --ignore-workspace-root-check [email protected]
429+
[[ $NEEDS_OLD_TS_NODE == true ]] && yarn add --dev --ignore-engines --ignore-scripts --ignore-workspace-root-check [email protected] [email protected]
430+
[[ $NEEDS_OLD_LERNA == true ]] && yarn add --dev --no-lockfile --ignore-workspace-root-check [email protected]
430431
yarn test-ci-node
431432
- name: Compute test coverage
432433
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)