You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
640 B

4 years ago
  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