Skip to content

Commit

Permalink
Pin to old versions for node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Oct 30, 2023
1 parent 1c9205f commit de24a33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,15 @@ jobs:
key: node-tests-${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('**/package-lock.json') }}-10302023

# temporary fix for https://github.com/nrwl/nx/issues/19022
- run: npm install --save-dev [email protected] @nx/[email protected]
# See compatibility table https://nx.dev/nx-api/workspace/documents/nx-nodejs-typescript-version-matrix
# Lerna 7+ requires nx 16 so we also pin that to an old version
- run: npm install --save-dev nx@^15 lerna@^6
if: ${{ matrix.node_version == '14' }}

- name: Bootstrap
run: |
npm ci --ignore-scripts
npx lerna add --dev --exact --no-bootstrap lerna@6
npx lerna bootstrap --hoist --nohoist='zone.js' --ignore @opentelemetry/selenium-tests
- name: Build 🔧
Expand Down

0 comments on commit de24a33

Please sign in to comment.