Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/example/js-yaml-3.…
Browse files Browse the repository at this point in the history
…13.1
  • Loading branch information
rgommezz committed Aug 28, 2019
2 parents c60f5eb + f5b8b26 commit 45025bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 45025bb

Please sign in to comment.