-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.cirrus.yml
33 lines (29 loc) · 945 Bytes
/
.cirrus.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
# Global default container.
container:
image: node:slim
install_task:
node_modules_cache:
folder: node_modules
fingerprint_script: cat yarn.lock
populate_script: yarn -s
lint_task:
node_modules_cache:
folder: node_modules
fingerprint_script: cat yarn.lock
populate_script: yarn -s
test_script: yarn lint
test_task:
node_modules_cache:
folder: node_modules
fingerprint_script: cat yarn.lock
populate_script: yarn -s
test_script: yarn jest --coverage --runInBand --ci
build_task:
environment:
AWS_ACCESS_KEY: ENCRYPTED[76b7a76898aea8640a7f4d4a745c29912984decf6806ddf976026bbe54a3577b9bb09e456c79f9508bc59cdec53e301b]
AWS_SECRET_KEY: ENCRYPTED[b8d22a46a6b00bf5f8fecc4c051d3088dfdc30dd7244ded020e8f088285ca8bde7c479f94e90798c77470a886dc43bf9]
node_modules_cache:
folder: node_modules
fingerprint_script: cat yarn.lock
populate_script: yarn -s
build_script: yarn build:ci