-
Notifications
You must be signed in to change notification settings - Fork 821
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: limit npm to <10.0.0 on node v14 and v16 (#4111)
- Loading branch information
1 parent
5b7f619
commit cacb825
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,11 @@ jobs: | |
node-version: ${{ matrix.node_version }} | ||
|
||
- run: npm install -g npm@latest | ||
if: ${{ matrix.node_version == '18' || matrix.node_version == '20' }} | ||
|
||
# [email protected] drops support for Node.js v14 and v16 | ||
- run: npm install -g npm@"<10.0.0" | ||
if: ${{ matrix.node_version == '14' || matrix.node_version == '16' }} | ||
|
||
- name: restore lerna | ||
id: cache | ||
|
@@ -70,7 +75,7 @@ jobs: | |
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
node-version: '18' | ||
|
||
- run: npm install -g npm@latest | ||
|
||
|
@@ -98,6 +103,8 @@ jobs: | |
npm run compile | ||
- name: Unit tests | ||
env: | ||
NODE_OPTIONS: --openssl-legacy-provider | ||
run: npm run test | ||
browser-tests: | ||
runs-on: ubuntu-latest | ||
|