From 089bc0259a4f406e958661d6a2bec819cd18d6b8 Mon Sep 17 00:00:00 2001 From: Rishabh Chawla Date: Fri, 20 May 2022 15:29:17 +0530 Subject: [PATCH] refactor!: drop node version 12 (#3251) --- .github/workflows/nodejs.yml | 22 +--------------------- package.json | 2 +- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index eb9f6221e14..4c7306331c6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -58,22 +58,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [10.x, 12.x, 14.x, 16.x, 18.x] + node-version: [14.x, 16.x, 18.x] shard: ["1/4", "2/4", "3/4", "4/4"] webpack-version: [latest] dev-server-version: [latest] - include: - - node-version: 16.x - os: ubuntu-latest - dev-server-version: version-3 - webpack-version: latest - - node-version: 16.x - os: ubuntu-latest - dev-server-version: latest - webpack-version: webpack-4 - exclude: - - node-version: 10.x - dev-server-version: latest steps: - uses: actions/checkout@v3 @@ -89,14 +77,6 @@ jobs: - name: Install dependencies run: yarn --frozen-lockfile --ignore-engines - - name: Install webpack ${{ matrix.webpack-version }} - if: matrix.webpack-version == '4' - run: yarn add -W webpack@${{ matrix.webpack-version }} --ignore-engines - - - name: Install webpack-dev-server ${{ matrix.dev-server-version }} - if: matrix.dev-server-version == 'version-3' - run: yarn add -W webpack-dev-server@${{ matrix.dev-server-version }} --ignore-engines - - name: Prepare environment for tests run: yarn build:ci diff --git a/package.json b/package.json index c7cae66b1f1..32ebb2f96a6 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "url": "https://opencollective.com/webpack" }, "engines": { - "node": ">=10.13.0" + "node": ">=14.15.0" }, "keywords": [ "webpack",