-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into logs/internal-state
- Loading branch information
Showing
231 changed files
with
4,330 additions
and
1,210 deletions.
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
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
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
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
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
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 |
---|---|---|
|
@@ -20,13 +20,18 @@ jobs: | |
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
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 | ||
|
@@ -41,6 +46,10 @@ jobs: | |
experimental/packages/*/package-lock.json | ||
key: node-tests-${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('package.json', 'packages/*/package.json', 'experimental/packages/*/package.json') }}-04292022 | ||
|
||
# temporary fix for https://github.com/nrwl/nx/issues/19022 | ||
- run: npm install --save-dev [email protected] @nx/[email protected] | ||
if: ${{ matrix.node_version == '14' }} | ||
|
||
- name: Bootstrap | ||
run: | | ||
npm install --ignore-scripts | ||
|
@@ -66,11 +75,11 @@ jobs: | |
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
node-version: '18' | ||
|
||
- run: npm install -g npm@latest | ||
|
||
|
@@ -98,14 +107,16 @@ jobs: | |
npm run compile | ||
- name: Unit tests | ||
env: | ||
NODE_OPTIONS: --openssl-legacy-provider | ||
run: npm run test | ||
browser-tests: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
|
@@ -143,7 +154,7 @@ jobs: | |
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.0.0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
@@ -185,7 +196,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
|
@@ -201,4 +212,9 @@ jobs: | |
- name: Test | ||
working-directory: ./api | ||
run: npm test | ||
# running test:eol as node 8 is not supported anymore by the version of nyc we use, as we don't report coverage | ||
# for this step we leave it out. | ||
# Details: nyc requires istanbul-lib-report, which silently dropped support for Node.js v8 when going from | ||
# 3.0.0 to 3.0.1 by requiring make-dir@^4.0.0 to fix https://github.com/advisories/GHSA-c2qf-rxjj-qqgw. | ||
# make-dir does not support Node.js v8 anymore. | ||
run: npm run test:eol |
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
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
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
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
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
Oops, something went wrong.