-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.yml
40 lines (32 loc) · 836 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: 2
jobs:
build:
docker:
- image: cypress/base:10.18.1
environment:
TERM: xterm
working_directory: ~/repo
steps:
- checkout
- restore_cache:
name: Restore node_modules cache
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run:
name: Node version
command: node --version
- run:
name: Install dependencies
command: yarn install --frozen-lockfile
- run:
name: Tests
command: yarn test:ci
- run:
name: Coverage
command: yarn coveralls
- save_cache:
name: Save node_modules cache
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}