config.yml 585 B

1234567891011121314151617181920212223242526272829
  1. version: 2
  2. jobs:
  3. build:
  4. docker:
  5. - image: vuejs/ci
  6. working_directory: ~/repo
  7. steps:
  8. - checkout
  9. - restore_cache:
  10. keys:
  11. - v1-dependencies-{{ checksum "yarn.lock" }}
  12. - v1-dependencies-
  13. - run:
  14. name: Installing Dependencies
  15. command: yarn --frozen-lockfile
  16. - save_cache:
  17. paths:
  18. - node_modules
  19. - ~/.cache/yarn
  20. key: v1-dependencies-{{ checksum "yarn.lock" }}
  21. - run:
  22. name: Running Tests
  23. command: yarn test --ci --runInBand