-
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 'next' into next-readme
- Loading branch information
Showing
166 changed files
with
55,748 additions
and
1,455 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
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 |
---|---|---|
|
@@ -12,63 +12,38 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
node_version: | ||
- "14" | ||
- "16" | ||
- "18" | ||
- "20" | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
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 | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
node_modules | ||
package-lock.json | ||
packages/*/node_modules | ||
packages/*/package-lock.json | ||
experimental/packages/*/node_modules | ||
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 | ||
npx lerna bootstrap --no-ci --hoist --nohoist='zone.js' --ignore @opentelemetry/selenium-tests | ||
run: npm ci | ||
|
||
- name: Build 🔧 | ||
run: | | ||
npm run compile | ||
run: npm run compile | ||
|
||
- name: Unit tests | ||
run: | | ||
# TODO(legendecas): webpack https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported | ||
if [ "${{ matrix.node_version }}" = "18" ]; then | ||
export NODE_OPTIONS=--openssl-legacy-provider | ||
fi | ||
export NODE_OPTIONS=--openssl-legacy-provider | ||
npm run test | ||
- name: Report Coverage | ||
run: npm run codecov | ||
if: ${{ matrix.node_version == '14' }} | ||
if: ${{ matrix.node_version == '18' }} | ||
node-windows-tests: | ||
runs-on: windows-latest | ||
env: | ||
|
@@ -77,29 +52,17 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
node-version: '18' | ||
|
||
- run: npm install -g npm@latest | ||
|
||
- name: restore lerna | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
node_modules | ||
package-lock.json | ||
packages/*/node_modules | ||
packages/*/package-lock.json | ||
experimental/packages/*/node_modules | ||
experimental/packages/*/package-lock.json | ||
key: node-windows-tests-${{ runner.os }}-${{ hashFiles('package.json', 'packages/*/package.json', 'experimental/packages/*/package.json') }} | ||
|
||
- name: Bootstrap | ||
run: | | ||
npm install --ignore-scripts | ||
npx lerna bootstrap --no-ci --hoist --nohoist='zone.js' --ignore @opentelemetry/selenium-tests | ||
run: npm ci | ||
|
||
- name: Build 🔧 | ||
run: | | ||
|
@@ -118,31 +81,18 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: restore lerna | ||
id: cache | ||
uses: actions/cache@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
path: | | ||
node_modules | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
packages/*/node_modules | ||
packages/*/package-lock.json | ||
experimental/packages/*/node_modules | ||
experimental/packages/*/package-lock.json | ||
key: browser-tests-${{ runner.os }}-${{ hashFiles('package.json', 'packages/*/package.json', 'experimental/packages/*/package.json') }}-04292022 | ||
node-version: 18 | ||
|
||
- name: Bootstrap | ||
run: | | ||
npm install --ignore-scripts | ||
npx lerna bootstrap --no-ci --hoist --nohoist='zone.js' --ignore @opentelemetry/selenium-tests | ||
run: npm ci | ||
|
||
- name: Build 🔧 | ||
run: | | ||
npm run compile | ||
run: npm run compile | ||
|
||
- name: Unit tests | ||
run: npm run test:browser | ||
|
@@ -154,32 +104,19 @@ jobs: | |
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: restore lerna | ||
id: cache | ||
uses: actions/cache@v3 | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
path: | | ||
node_modules | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
packages/*/node_modules | ||
packages/*/package-lock.json | ||
experimental/packages/*/node_modules | ||
experimental/packages/*/package-lock.json | ||
key: webworker-tests-${{ runner.os }}-${{ hashFiles('package.json', 'packages/*/package.json', 'experimental/packages/*/package.json') }}-04292022 | ||
node-version: 18 | ||
|
||
- name: Bootstrap | ||
run: | | ||
npm install --ignore-scripts | ||
npx lerna bootstrap --no-ci --hoist --nohoist='zone.js' | ||
run: npm ci | ||
|
||
- name: Build 🔧 | ||
run: | | ||
npm run compile | ||
run: npm run compile | ||
|
||
- name: Unit tests | ||
run: npm run test:webworker | ||
|
@@ -193,13 +130,18 @@ jobs: | |
- "8" | ||
- "10" | ||
- "12" | ||
- "14" | ||
- "16" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
node-version: ${{ matrix.node_version }} | ||
|
||
- name: Build | ||
|
Oops, something went wrong.