-
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 remote-tracking branch 'upstream/main' into fix-xhr-absolute
- Loading branch information
Showing
445 changed files
with
13,962 additions
and
1,807 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,16 +47,19 @@ jobs: | |
- name: Build 🔧 | ||
run: | | ||
npm run compile | ||
npx lerna run compile | ||
- name: Unit tests | ||
run: npm run test | ||
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 | ||
npm run test | ||
- name: Report Coverage | ||
run: npm run codecov | ||
if: ${{ matrix.node_version == '14' }} | ||
node-windows-tests: | ||
strategy: | ||
fail-fast: false | ||
runs-on: windows-latest | ||
env: | ||
NPM_CONFIG_UNSAFE_PERM: true | ||
|
@@ -90,22 +93,23 @@ jobs: | |
- name: Build 🔧 | ||
run: | | ||
npm run compile | ||
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe" | ||
npx lerna run compile | ||
- name: Unit tests | ||
run: npm run test | ||
browser-tests: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: circleci/node:16-browsers | ||
env: | ||
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Permission Setup | ||
run: sudo chmod -R 777 /github /__w | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: restore lerna | ||
id: cache | ||
uses: actions/cache@v3 | ||
|
@@ -126,8 +130,6 @@ jobs: | |
- name: Build 🔧 | ||
run: | | ||
npm run compile | ||
# run additional compilation variants | ||
npx lerna run compile | ||
- name: Unit tests | ||
|
@@ -136,15 +138,14 @@ jobs: | |
run: npm run codecov:browser | ||
webworker-tests: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: circleci/node:16-browsers | ||
env: | ||
NPM_CONFIG_UNSAFE_PERM: true | ||
steps: | ||
- name: Permission Setup | ||
run: sudo chmod -R 777 /github /__w | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/[email protected] | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: restore lerna | ||
id: cache | ||
|
@@ -166,11 +167,37 @@ jobs: | |
- name: Build 🔧 | ||
run: | | ||
npm run compile | ||
# run additional compilation variants | ||
npx lerna run compile | ||
- name: Unit tests | ||
run: npm run test:webworker | ||
- name: Report Coverage | ||
run: npm run codecov:webworker | ||
api-eol-node-test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node_version: | ||
- "8" | ||
- "10" | ||
- "12" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
|
||
- name: Build | ||
working-directory: ./api | ||
run: | | ||
npm install --ignore-scripts | ||
npm install @types/mocha@^7 mocha@^7 ts-loader@^8 ts-mocha@^8 | ||
node ../scripts/version-update.js | ||
tsc --build tsconfig.json tsconfig.esm.json | ||
- name: Test | ||
working-directory: ./api | ||
run: npm test |
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.