Skip to content

Commit

Permalink
chore: cleanup CircleCI config (#17)
Browse files Browse the repository at this point in the history
* fix: drop support for node.js 4.x and 9.x

* moar fixing
  • Loading branch information
JustinBeckwith authored and alexander-fenster committed Jul 10, 2018
1 parent a286f12 commit 37dd30a
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions packages/google-cloud-redis/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@ workflows:
only: /.*/
- node8:
filters: *all_commits
- node9:
filters: *all_commits
- node10:
filters: *all_commits
- lint:
requires:
- node6
- node8
- node9
- node10
filters: *all_commits
- docs:
requires:
- node6
- node8
- node9
- node10
filters: *all_commits
- publish_npm:
Expand Down Expand Up @@ -69,23 +65,13 @@ jobs:
npm install
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
- run:
name: Run unit tests.
command: npm test
- run:
name: Submit coverage data to codecov.
command: node_modules/.bin/codecov
when: always
- run: npm test
- run: node_modules/.bin/codecov
node8:
docker:
- image: 'node:8'
user: node
steps: *unit_tests_steps
node9:
docker:
- image: 'node:9'
user: node
steps: *unit_tests_steps
node10:
docker:
- image: 'node:10'
Expand Down Expand Up @@ -121,9 +107,5 @@ jobs:
user: node
steps:
- checkout
- run:
name: Set NPM authentication.
command: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
- run:
name: Publish the module to npm.
command: npm publish --access=public
- run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
- run: npm publish --access=public

0 comments on commit 37dd30a

Please sign in to comment.