Merge branch 'main' into next

# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	yarn.lock
This commit is contained in:
fisker committed 2021-06-14 00:31:55 +08:00
commit 77f8f0ddb5
297 files changed
+7183 -5143

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- "ubuntu-latest"
node:
# Run tests on minimal version we support
- "10"
- "12"
NPM_CLIENT:
- "yarn"
- "npm"
+2 -9
View File
@@ -22,7 +22,6 @@ jobs:
- "16"
- "14"
- "12"
- "10"
include:
# only enable coverage on the fastest job
- os: "ubuntu-latest"
@@ -30,17 +29,11 @@ jobs:
ENABLE_CODE_COVERAGE: true
FULL_TEST: true
CHECK_TEST_PARSERS: true
- os: "ubuntu-latest"
node: "15"
exclude:
- os: "macos-latest"
node: "14"
- os: "macos-latest"
node: "12"
- os: "windows-latest"
node: "14"
- os: "windows-latest"
node: "12"
env:
ENABLE_CODE_COVERAGE: ${{ matrix.ENABLE_CODE_COVERAGE }}
FULL_TEST: ${{ matrix.FULL_TEST }}
@@ -71,7 +64,7 @@ jobs:
run: yarn test --maxWorkers=2
- name: Upload Coverage
uses: codecov/codecov-action@v1.4.1
uses: codecov/codecov-action@v1.5.2
if: matrix.ENABLE_CODE_COVERAGE
with:
fail_ci_if_error: true
@@ -83,7 +76,7 @@ jobs:
PRETTIER_FALLBACK_RESOLVE: true
- name: Upload Coverage (PRETTIER_FALLBACK_RESOLVE)
uses: codecov/codecov-action@v1.4.1
uses: codecov/codecov-action@v1.5.2
if: matrix.ENABLE_CODE_COVERAGE
with:
fail_ci_if_error: true
+5 -3
View File
@@ -24,7 +24,7 @@ jobs:
- name: Cache Build Results
id: build-cache
uses: actions/cache@v2.1.5
uses: actions/cache@v2.1.6
with:
path: .cache
key: v2-build-cache-${{ hashFiles('yarn.lock') }}-${{ hashFiles('scripts/build/**/*') }}-${{ github.ref }}-
@@ -93,8 +93,6 @@ jobs:
- os: "ubuntu-latest"
node: "16"
FULL_TEST: true
- os: "ubuntu-latest"
node: "15"
exclude:
- os: "macos-latest"
node: "14"
@@ -118,6 +116,10 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Config `ignore-engines=true` (Node.js 10)
if: matrix.node == '10'
run: yarn config set ignore-engines true
- name: Install Dependencies
run: yarn install --frozen-lockfile