Skip to content

Commit

Permalink
support only node 14 and 16 starting version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Mar 31, 2022
1 parent fef2922 commit ccd3394
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,20 @@ commands:
- ~/.cache/yarn

jobs:
node-12:
docker:
- image: node:12
steps:
- build
node-14:
docker:
- image: node:14
steps:
- build
node-15:
node-16:
docker:
- image: node:15
- image: node:16
steps:
- build

workflows:
version: 2
node-multi-build:
jobs:
- node-12
- node-14
- node-15
- node-16
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14', '15']
node: [ '14', '16']
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bin/image-size.js"
],
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"bin": "bin/image-size.js",
"scripts": {
Expand Down

0 comments on commit ccd3394

Please sign in to comment.