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