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 May 5, 2022
1 parent b0a1a8d commit 9a9f81e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ commands:
- ~/.cache/yarn

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

workflows:
version: 2
node-multi-build:
jobs:
- node-12
- node-14
- node-15
- node-16
- node-18
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', '18']
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 9a9f81e

Please sign in to comment.