config.yml 640 B

12345678910111213141516171819202122232425262728
  1. version: 2
  2. jobs:
  3. build:
  4. docker:
  5. # https://circleci.com/docs/2.0/circleci-images/#nodejs
  6. - image: circleci/node:6
  7. working_directory: ~/vue-style-loader
  8. steps:
  9. - checkout
  10. # Download and cache dependencies
  11. - restore_cache:
  12. keys:
  13. - v1-dependencies-{{ checksum "package.json" }}
  14. # fallback to using the latest cache if no exact match is found
  15. - v1-dependencies-
  16. - run: yarn install
  17. - save_cache:
  18. paths:
  19. - node_modules
  20. key: v1-dependencies-{{ checksum "package.json" }}
  21. # run tests!
  22. - run: yarn test