From a450b1fb7993e0558a807a666ba914666ed35d8f Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 9 Jul 2018 23:04:44 -0700 Subject: [PATCH] fix: cleanup CircleCI config (#1231) * fix: drop support for node.js 4.x and 9.x * moar fixing --- .circleci/config.yml | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 32d2c776537..04ff48d7476 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -56,10 +52,6 @@ workflows: filters: tags: only: /.*/ - - node9: - filters: - tags: - only: /.*/ - node10: filters: tags: @@ -68,7 +60,6 @@ workflows: requires: - node6 - node8 - - node9 - node10 filters: branches: @@ -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 @@ -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