Skip to content

Commit 5dd5317

Browse files
ci: update
1 parent 451286b commit 5dd5317

2 files changed

Lines changed: 21 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,30 @@ jobs:
9292
node-version: [10.x, 20.x]
9393
part: [a, b]
9494
include:
95+
# Test with main branches of webpack dependencies
96+
- os: ubuntu-latest
97+
node-version: lts/*
98+
part: a
99+
use_main_branches: 1
100+
- os: ubuntu-latest
101+
node-version: lts/*
102+
part: b
103+
use_main_branches: 1
104+
# Test on the latest version of Node.js
95105
- os: ubuntu-latest
96106
node-version: 21.x
97107
part: a
98108
- os: ubuntu-latest
99109
node-version: 21.x
100110
part: b
111+
# Test on the old LTS version of Node.js
101112
- os: ubuntu-latest
102113
node-version: 18.x
103114
part: a
115+
- os: ubuntu-latest
116+
node-version: 18.x
117+
part: b
118+
# Test on old Node.js versions
104119
- os: ubuntu-latest
105120
node-version: 16.x
106121
part: a
@@ -110,15 +125,6 @@ jobs:
110125
- os: ubuntu-latest
111126
node-version: 12.x
112127
part: a
113-
# Test with main branches of webpack dependencies
114-
- os: ubuntu-latest
115-
node-version: lts/*
116-
part: a
117-
use_main_branches: 1
118-
- os: ubuntu-latest
119-
node-version: lts/*
120-
part: b
121-
use_main_branches: 1
122128
runs-on: ${{ matrix.os }}
123129
steps:
124130
- uses: actions/checkout@v4
@@ -132,12 +138,16 @@ jobs:
132138
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
133139
yarn --frozen-lockfile --ignore-engines
134140
if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
141+
- run: |
142+
yarn upgrade eslint-plugin-jsdoc@^47.0.0
143+
yarn --frozen-lockfile
144+
if: matrix.node-version == '16.x'
135145
# Install main version of our deps
136146
- 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
137147
if: matrix.use_main_branches == '1'
138148
# Install dependencies for LTS node versions
139149
- run: yarn --frozen-lockfile
140-
if: matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'
150+
if: matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x' && matrix.node-version != '16.x'
141151
- run: yarn link --frozen-lockfile || true
142152
- run: yarn link webpack --frozen-lockfile
143153
- uses: actions/cache@v4

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
"jsons",
118118
"junit",
119119
"Junya",
120+
"jsdoc",
120121
"kaios",
121122
"Kees",
122123
"kibibytes",

0 commit comments

Comments
 (0)