TechWeek site
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.

25 lines
572 B

  1. ---
  2. version: 2.1
  3. jobs:
  4. build:
  5. working_directory: ~/TechWeek
  6. docker:
  7. - image: circleci/node:10.16.3
  8. steps:
  9. - checkout
  10. - run:
  11. name: Install Yarn
  12. command: 'sudo npm install -g yarn@latest'
  13. - restore_cache:
  14. key: dependency-cache-{{ checksum "yarn.lock" }}
  15. - run:
  16. name: Install dep
  17. command: yarn
  18. - save_cache:
  19. key: dependency-cache-{{ checksum "yarn.lock" }}
  20. paths:
  21. - ./node_modules
  22. - run:
  23. name: test
  24. command: npm test