github.com/manicqin/nomad@v0.9.5/.circleci/config/jobs/test-ui.yml (about) 1 docker: 2 - image: circleci/node:10-browsers 3 environment: 4 # See https://git.io/vdao3 for details. 5 JOBS: 2 6 steps: 7 - checkout 8 - restore_cache: 9 keys: 10 - v1-deps-{{ checksum "ui/yarn.lock" }} 11 - v1-deps- 12 - run: 13 name: yarn install 14 command: cd ui && yarn install 15 - save_cache: 16 key: v1-deps-{{ checksum "ui/yarn.lock" }} 17 paths: 18 - ./ui/node_modules 19 - run: 20 name: lint:js 21 command: cd ui && yarn run lint:js 22 - run: 23 name: lint:hbs 24 command: cd ui && yarn run lint:hbs 25 - run: 26 name: Ember tests 27 command: cd ui && yarn test