Skip to content

Commit

Permalink
Drop node 10 support (#808)
Browse files Browse the repository at this point in the history
* Add test for node 16

Signed-off-by: Roman Vaivod <[email protected]>
  • Loading branch information
littlewhywhat authored Jun 29, 2021
1 parent 510b964 commit 8579978
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ jobs:
- run:
name: test
command: npm run migrate up -- -m test/cockroach --no-lock && npm run migrate down 0 -- -m test/cockroach --no-lock --timestamps
test-node-10:
test-node-12:
docker:
- image: circleci/node:10
- image: circleci/node:12
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.3-alpine
Expand All @@ -222,9 +222,9 @@ jobs:
- <<: *restore
- <<: *postgres-wait
- <<: *test-postgres
test-node-12:
test-node-14:
docker:
- image: circleci/node:12
- image: circleci/node:14
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.3-alpine
Expand All @@ -236,9 +236,9 @@ jobs:
- <<: *restore
- <<: *postgres-wait
- <<: *test-postgres
test-node-14:
test-node-16:
docker:
- image: circleci/node:14
- image: circleci/node:16
environment:
- DATABASE_URL=postgres://ubuntu:ubuntu@localhost:5432/circle_test
- image: postgres:13.3-alpine
Expand Down Expand Up @@ -516,15 +516,15 @@ workflows:
- test-cockroach-21:
requires:
- install
- test-node-10:
requires:
- install
- test-node-12:
requires:
- install
- test-node-14:
requires:
- install
- test-node-16:
requires:
- install
- test-config:
requires:
- install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"api"
],
"engines": {
"node": ">=10.0.0"
"node": ">=12.0.0"
},
"bugs": {
"url": "https://github.com/salsita/node-pg-migrate/issues"
Expand Down

0 comments on commit 8579978

Please sign in to comment.