Skip to content

Commit

Permalink
chore(Node): Deprecate node 8, switch to node 12 LTS
Browse files Browse the repository at this point in the history
- Deprecates support for node 8
- Bases API dockerfile on node 12 (LTS)
- Adds node 14 to CI

BREAKING CHANGE: Node 8 no longer supported
  • Loading branch information
cblanc committed Jun 22, 2020
1 parent 1ac901d commit e8d211c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ jobs:
- PGUSER=postgres
image: "circleci/node:12"
- image: "circleci/postgres:10-alpine-postgis"
node8:
node14:
<<: *default_steps
docker:
- environment:
- PGHOST=localhost
- PGUSER=postgres
image: "circleci/node:8"
image: "circleci/node:14"
- image: "circleci/postgres:10-alpine-postgis"
version: 2
workflows:
supported_nodes:
jobs:
- node8
- node14
- node10
- node12
version: 2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10-alpine
FROM node:12-alpine

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@
"supertest": "~4.0.2"
},
"engines": {
"node": ">=8.9.0"
"node": ">=10.0.0"
}
}

0 comments on commit e8d211c

Please sign in to comment.