Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cleanup CircleCI config #1231

Merged
merged 2 commits into from Jul 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 4 additions & 22 deletions .circleci/config.yml
Expand Up @@ -17,12 +17,8 @@ unit_tests: &unit_tests
steps:
- checkout
- run: *remove_package_lock
- run:
name: Install modules and dependencies.
command: npm install
- run:
name: Run unit tests.
command: npm test
- run: npm install
- run: npm test
- run:
name: Submit coverage data to codecov.
command: node_modules/.bin/codecov
Expand Down Expand Up @@ -56,10 +52,6 @@ workflows:
filters:
tags:
only: /.*/
- node9:
filters:
tags:
only: /.*/
- node10:
filters:
tags:
Expand All @@ -68,7 +60,6 @@ workflows:
requires:
- node6
- node8
- node9
- node10
filters:
branches:
Expand Down Expand Up @@ -96,11 +87,6 @@ jobs:
user: node
<<: *unit_tests
<<: *test_samples
node9:
docker:
- image: node:9
user: node
<<: *unit_tests
node10:
docker:
- image: node:10
Expand All @@ -113,15 +99,11 @@ jobs:
user: node
steps:
- checkout
- run:
name: Install modules and dependencies.
command: npm install
- run: npm install
- run:
name: Build
command: make build
- run:
name: Set NPM authentication.
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- run:
name: Publish the module to npm.
command: npm publish --access=public