mirror of https://github.com/webpack/webpack.git
ci: update
This commit is contained in:
parent
451286b009
commit
5dd531799f
|
@ -92,24 +92,6 @@ jobs:
|
||||||
node-version: [10.x, 20.x]
|
node-version: [10.x, 20.x]
|
||||||
part: [a, b]
|
part: [a, b]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
|
||||||
node-version: 21.x
|
|
||||||
part: a
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node-version: 21.x
|
|
||||||
part: b
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node-version: 18.x
|
|
||||||
part: a
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node-version: 16.x
|
|
||||||
part: a
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node-version: 14.x
|
|
||||||
part: a
|
|
||||||
- os: ubuntu-latest
|
|
||||||
node-version: 12.x
|
|
||||||
part: a
|
|
||||||
# Test with main branches of webpack dependencies
|
# Test with main branches of webpack dependencies
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
@ -119,6 +101,30 @@ jobs:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
part: b
|
part: b
|
||||||
use_main_branches: 1
|
use_main_branches: 1
|
||||||
|
# Test on the latest version of Node.js
|
||||||
|
- os: ubuntu-latest
|
||||||
|
node-version: 21.x
|
||||||
|
part: a
|
||||||
|
- os: ubuntu-latest
|
||||||
|
node-version: 21.x
|
||||||
|
part: b
|
||||||
|
# Test on the old LTS version of Node.js
|
||||||
|
- os: ubuntu-latest
|
||||||
|
node-version: 18.x
|
||||||
|
part: a
|
||||||
|
- os: ubuntu-latest
|
||||||
|
node-version: 18.x
|
||||||
|
part: b
|
||||||
|
# Test on old Node.js versions
|
||||||
|
- os: ubuntu-latest
|
||||||
|
node-version: 16.x
|
||||||
|
part: a
|
||||||
|
- os: ubuntu-latest
|
||||||
|
node-version: 14.x
|
||||||
|
part: a
|
||||||
|
- os: ubuntu-latest
|
||||||
|
node-version: 12.x
|
||||||
|
part: a
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -132,12 +138,16 @@ jobs:
|
||||||
yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 @types/jest@^27.4.0 pretty-format@^27.0.2 --ignore-engines
|
yarn upgrade jest@^27.5.0 jest-circus@^27.5.0 jest-cli@^27.5.0 jest-diff@^27.5.0 jest-environment-node@^27.5.0 jest-junit@^13.0.0 @types/jest@^27.4.0 pretty-format@^27.0.2 --ignore-engines
|
||||||
yarn --frozen-lockfile --ignore-engines
|
yarn --frozen-lockfile --ignore-engines
|
||||||
if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
|
if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
|
||||||
|
- run: |
|
||||||
|
yarn upgrade eslint-plugin-jsdoc@^47.0.0
|
||||||
|
yarn --frozen-lockfile
|
||||||
|
if: matrix.node-version == '16.x'
|
||||||
# Install main version of our deps
|
# Install main version of our deps
|
||||||
- run: yarn upgrade enhanced-resolve@webpack/enhanced-resolve#main loader-runner@webpack/loader-runner#main webpack-sources@webpack/webpack-sources#main watchpack@webpack/watchpack#main tapable@webpack/tapable#master
|
- run: yarn upgrade enhanced-resolve@webpack/enhanced-resolve#main loader-runner@webpack/loader-runner#main webpack-sources@webpack/webpack-sources#main watchpack@webpack/watchpack#main tapable@webpack/tapable#master
|
||||||
if: matrix.use_main_branches == '1'
|
if: matrix.use_main_branches == '1'
|
||||||
# Install dependencies for LTS node versions
|
# Install dependencies for LTS node versions
|
||||||
- run: yarn --frozen-lockfile
|
- run: yarn --frozen-lockfile
|
||||||
if: matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'
|
if: matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x' && matrix.node-version != '16.x'
|
||||||
- run: yarn link --frozen-lockfile || true
|
- run: yarn link --frozen-lockfile || true
|
||||||
- run: yarn link webpack --frozen-lockfile
|
- run: yarn link webpack --frozen-lockfile
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
|
|
|
@ -117,6 +117,7 @@
|
||||||
"jsons",
|
"jsons",
|
||||||
"junit",
|
"junit",
|
||||||
"Junya",
|
"Junya",
|
||||||
|
"jsdoc",
|
||||||
"kaios",
|
"kaios",
|
||||||
"Kees",
|
"Kees",
|
||||||
"kibibytes",
|
"kibibytes",
|
||||||
|
|
Loading…
Reference in New Issue