Skip to content

Commit

Permalink
fix: cleanup CircleCI config (#1231)
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 21e03c8 commit a450b1f
Showing 1 changed file with 4 additions and 22 deletions.
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

0 comments on commit a450b1f

Please sign in to comment.