Skip to content

Commit

Permalink
refactor!: drop node version 12 (#3251)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 authored and snitin315 committed Sep 24, 2022
1 parent 271a2c3 commit e4e3804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/nodejs.yml
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -12,7 +12,7 @@
"url": "https://opencollective.com/webpack"
},
"engines": {
"node": ">=10.13.0"
"node": ">=14.15.0"
},
"keywords": [
"webpack",
Expand Down

0 comments on commit e4e3804

Please sign in to comment.