Skip to content

Commit

Permalink
Drop old node support (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolezel committed Dec 2, 2019
1 parent 5bb42a8 commit d65bc2b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
@@ -1,7 +1,7 @@
version: 2

node-image: &node-image
image: circleci/node:10
image: circleci/node:12

set-npm-global: &set-npm-global
run:
Expand Down Expand Up @@ -155,9 +155,9 @@ jobs:
- <<: *restore
- <<: *postgres-wait
- <<: *test-postgres
test-node-12:
test-node-10:
docker:
- image: circleci/node:12
- image: circleci/node:10
environment:
- DATABASE_URL=postgres://ubuntu@localhost:5432/circle_test
- image: postgres:10.11-alpine
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
command: npm run migrate up -- -s myschema public --create-schema -m test/migrations && npm run migrate down 0 -- -s myschema public -m test/migrations --timestamps
test-typescript-migration:
docker:
- image: circleci/node:12
- <<: *node-image
environment:
- DATABASE_URL=postgres://ubuntu@localhost:5432/circle_test
- image: postgres:10.11-alpine
Expand All @@ -302,7 +302,7 @@ jobs:
command: npm run migrate up -- --tsconfig tsconfig.json -m test/ts/migrations && npm run migrate down 0 -- --tsconfig tsconfig.json -m test/ts/migrations --timestamps
test-typescript-customrunner:
docker:
- image: circleci/node:12
- <<: *node-image
environment:
- DATABASE_URL=postgres://ubuntu@localhost:5432/circle_test
- image: postgres:10.11-alpine
Expand Down Expand Up @@ -345,7 +345,7 @@ workflows:
- test-node-8:
requires:
- install
- test-node-12:
- test-node-10:
requires:
- install
- test-config:
Expand Down
4 changes: 2 additions & 2 deletions tsconfig-test.json
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"target": "es5",
"target": "es2020",
"moduleResolution": "node",
"baseUrl": "src",
"outDir": "dist",
"lib": ["es2017"],
"lib": ["es2018"],
"esModuleInterop": true,
"declaration": true,
"sourceMap": false,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
@@ -1,11 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"target": "es2020",
"module": "commonjs",
"moduleResolution": "node",
"rootDir": "src",
"outDir": "dist",
"lib": ["es2017"],
"lib": ["es2018"],
"esModuleInterop": true,
"declaration": true,
"sourceMap": false,
Expand Down

0 comments on commit d65bc2b

Please sign in to comment.