2019-11-20 16:11:28 +00:00
|
|
|
docker:
|
|
|
|
- image: circleci/node:10-browsers
|
|
|
|
environment:
|
|
|
|
# See https://git.io/vdao3 for details.
|
|
|
|
JOBS: 2
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
|
|
keys:
|
2020-06-09 21:03:28 +00:00
|
|
|
- v2-deps-{{ checksum "ui/yarn.lock" }}
|
|
|
|
- v2-deps-
|
2019-11-20 16:11:28 +00:00
|
|
|
- run:
|
|
|
|
name: yarn install
|
|
|
|
command: cd ui && yarn install
|
|
|
|
- save_cache:
|
2020-06-09 21:03:28 +00:00
|
|
|
key: v2-deps-{{ checksum "ui/yarn.lock" }}
|
2019-11-20 16:11:28 +00:00
|
|
|
paths:
|
|
|
|
- ./ui/node_modules
|
|
|
|
- run:
|
|
|
|
name: lint:js
|
|
|
|
command: cd ui && yarn run lint:js
|
|
|
|
- run:
|
|
|
|
name: lint:hbs
|
|
|
|
command: cd ui && yarn run lint:hbs
|
|
|
|
- run:
|
|
|
|
name: Ember tests
|
2020-04-01 16:19:44 +00:00
|
|
|
command: mkdir -p /tmp/test-reports && cd ui && yarn test
|
|
|
|
- store_test_results:
|
|
|
|
path: /tmp/test-reports
|
|
|
|
- store_artifacts:
|
|
|
|
path: /tmp/test-reports
|