From f5b8b268e91e309d3d207b5a21b78e128e4c073c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20G=C3=B3mez=20Acu=C3=B1a?= <4982414+rgommezz@users.noreply.github.com> Date: Wed, 28 Aug 2019 12:46:22 +0100 Subject: [PATCH] Chore | Circle fix (#212) --- .circleci/config.yml | 9 ++------- package.json | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 84bf202a..c5f27d30 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,6 @@ jobs: CIRCLE_TEST_REPORTS: /tmp/circleci-test-results docker: - image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37 - command: /sbin/init steps: - checkout - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS @@ -25,10 +24,6 @@ jobs: - v1-dep-master- # Any branch if there are none on the default branch - this should be unnecessary if you have your default branch configured correctly - v1-dep- - - run: curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - - - run: echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list - - run: sudo apt-get update && sudo apt-get install yarn - - run: yarn install # Save dependency cache - save_cache: key: v1-dep-{{ .Branch }}-{{ epoch }} @@ -45,8 +40,8 @@ jobs: - ~/.cache/bower - ./node_modules # Test - - run: yarn run lint - - run: yarn run test:coverage + - run: npm run lint + - run: npm run test:coverage # Teardown # Save test results - store_test_results: diff --git a/package.json b/package.json index d078bf3e..7d692504 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "format": "eslint --fix js/**/", "prettier": "prettier --single-quote --trailing-comma all --write \"src/**/*.js\"", "test:coverage": "node --harmony node_modules/.bin/jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", - "precommit": "yarn run lint", + "precommit": "npm run lint", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate" },