Skip to content

Commit

Permalink
Merge pull request #17020 from webpack/ci-deps-main
Browse files Browse the repository at this point in the history
ci: add ci to test with main branches
  • Loading branch information
TheLarkInn authored Apr 26, 2023
2 parents 2552028 + e106dc9 commit 9234620
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ jobs:
- os: ubuntu-latest
node-version: 12.x
part: a
# Test with main branches of webpack dependencies
- os: ubuntu-latest
node-version: 16.x
part: a
use_main_branches: 1
- os: ubuntu-latest
node-version: 16.x
part: b
use_main_branches: 1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -117,6 +126,10 @@ 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 --frozen-lockfile --ignore-engines
if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
# 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
if: matrix.use_main_branches == '1'
# Install dependencies for LTS node versions
- run: yarn --frozen-lockfile
if: matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'
- run: yarn link --frozen-lockfile || true
Expand Down

0 comments on commit 9234620

Please sign in to comment.