From 5785e9b0a39a3a92898ffddd90bc9135b83096ad Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 14 Nov 2022 16:36:59 +0800 Subject: [PATCH] ci: add webpack 5 tests --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eeb45c01b..c8c82f1c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,3 +27,9 @@ jobs: - name: Run unit tests run: pnpm run test + + - name: Set up webpack 5 tests + run: npx json -f package.json -I -e "this.resolutions = {}, this.resolutions.webpack = '^5.0.0', this.devDependencies.webpack = '^5.0.0' " + + - name: Run unit tests for webpack 5 + run: pnpm run test