Skip to content

Commit

Permalink
fix: drop support for node.js 4.x and 9.x (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Jun 11, 2018
1 parent cd4b904 commit aefe69c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 28 deletions.
32 changes: 6 additions & 26 deletions packages/google-cloud-dns/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ workflows:
version: 2
tests:
jobs: &workflow_jobs
- node4:
filters:
tags:
only: /.*/
- node6:
filters:
tags:
Expand All @@ -15,30 +11,22 @@ workflows:
filters:
tags:
only: /.*/
- node9:
filters:
tags:
only: /.*/
- node10:
filters:
tags:
only: /.*/
- lint:
requires:
- node4
- node6
- node8
- node9
- node10
filters:
tags:
only: /.*/
- docs:
requires:
- node4
- node6
- node8
- node9
- node10
filters:
tags:
Expand Down Expand Up @@ -79,9 +67,9 @@ workflows:
only: master
jobs: *workflow_jobs
jobs:
node4:
node6:
docker:
- image: 'node:4'
- image: 'node:6'
steps: &unit_tests_steps
- checkout
- run: &remove_package_lock
Expand Down Expand Up @@ -111,25 +99,17 @@ jobs:
name: Submit coverage data to codecov.
command: node_modules/.bin/codecov
when: always
node6:
docker:
- image: 'node:6'
steps: *unit_tests_steps
node8:
docker:
- image: 'node:8'
steps: *unit_tests_steps
node9:
docker:
- image: 'node:9'
steps: *unit_tests_steps
node10:
docker:
- image: 'node:10'
steps: *unit_tests_steps
lint:
docker:
- image: 'node:8'
- image: 'node:10'
steps:
- checkout
- run: *remove_package_lock
Expand All @@ -146,7 +126,7 @@ jobs:
command: npm run lint
docs:
docker:
- image: 'node:8'
- image: 'node:10'
steps:
- checkout
- run: *remove_package_lock
Expand All @@ -156,7 +136,7 @@ jobs:
command: npm run docs
sample_tests:
docker:
- image: 'node:8'
- image: 'node:10'
steps:
- checkout
- run: *remove_package_lock
Expand Down Expand Up @@ -203,7 +183,7 @@ jobs:
when: always
publish_npm:
docker:
- image: 'node:8'
- image: 'node:10'
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"author": "Google Inc.",
"engines": {
"node": ">=4.0.0"
"node": ">=6.0.0"
},
"repository": "googleapis/nodejs-dns",
"main": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "Google Inc.",
"repository": "googleapis/nodejs-dns",
"engines": {
"node": ">=4.0.0"
"node": ">=6.0.0"
},
"scripts": {
"ava": "ava -T 20s --verbose test/*.test.js system-test/*.test.js",
Expand Down

0 comments on commit aefe69c

Please sign in to comment.