Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

chore: cleanup CircleCI config #126

Merged
merged 2 commits into from
Jul 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,8 @@ 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'
Expand Down Expand Up @@ -183,9 +178,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
- run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
- run: npm publish
2 changes: 1 addition & 1 deletion 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-compute",
"engines": {
"node": ">=4.0.0"
"node": ">=6.0.0"
},
"scripts": {
"system-test": "ava -T 20s --verbose system-test/*.test.js",
Expand Down