File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,6 +104,15 @@ jobs:
104104 - os : ubuntu-latest
105105 node-version : 12.x
106106 part : a
107+ # Test with main branches of webpack dependencies
108+ - os : ubuntu-latest
109+ node-version : 16.x
110+ part : a
111+ use_main_branches : 1
112+ - os : ubuntu-latest
113+ node-version : 16.x
114+ part : b
115+ use_main_branches : 1
107116 runs-on : ${{ matrix.os }}
108117 steps :
109118 - uses : actions/checkout@v3
@@ -117,6 +126,10 @@ jobs:
117126 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
118127 yarn --frozen-lockfile --ignore-engines
119128 if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
129+ # Install main version of our deps
130+ - 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
131+ if : matrix.use_main_branches == '1'
132+ # Install dependencies for LTS node versions
120133 - run : yarn --frozen-lockfile
121134 if : matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'
122135 - run : yarn link --frozen-lockfile || true
You can’t perform that action at this time.
0 commit comments