From 54768ac9732a72667cdaa51ee3b1d4cb5ba5fdb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Sun, 23 Oct 2022 09:52:22 -0400 Subject: [PATCH] remove webpack 4 from CI matrix --- .github/workflows/ci.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7db73aff..4d719048 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] node-version: [12.x, 14.x, 16.x] - webpack-version: [latest, '4'] + webpack-version: ['5'] include: - node-version: 18.x webpack-version: latest @@ -49,29 +49,4 @@ jobs: if: ${{ matrix.coverage }} with: token: ${{ secrets.CODECOV_TOKEN }} - test-legacy: - name: Test - ubuntu-latest - Node v8.9, Webpack 4 - runs-on: ubuntu-latest - env: - YARN_NODE_LINKER: node-modules - steps: - - uses: actions/checkout@v2 - - name: Use Node.js latest - uses: actions/setup-node@v1 - with: - node-version: '*' - - name: Install dependencies - run: yarn - - name: Install webpack 4 - run: yarn add -D webpack@4 - - name: Build babel-loader - run: yarn run build - env: - BABEL_ENV: test - - name: Use Node.js 8.9 - uses: actions/setup-node@v1 - with: - node-version: '8.9' - - name: Run tests for webpack version 4 - run: node scripts/test-legacy