config.yml 435 B

123456789101112131415161718192021222324
  1. version: 2
  2. jobs:
  3. build:
  4. docker:
  5. - image: circleci/node:latest
  6. steps:
  7. - checkout
  8. - run: npm install
  9. - run: npm run build
  10. test:
  11. docker:
  12. - image: circleci/node:latest-browsers
  13. steps:
  14. - checkout
  15. - run: npm install
  16. - run:
  17. command : npm run test:all
  18. no_output_timeout : 30m
  19. workflows:
  20. version: 2
  21. build_and_test:
  22. jobs:
  23. - build
  24. - test