-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.yml
51 lines (47 loc) · 935 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
41
42
43
44
45
46
47
48
49
50
51
version: 2.1
orbs:
browser-tools: circleci/[email protected]
commands:
run-tests:
description: "Run test suite"
steps:
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- checkout
- run: npm ci
- run: npm run test
run-checks:
description: "Run basic checks"
steps:
- checkout
- run: npm ci
- run: npm run lint
run-build:
description: "Ensure compiled assets are up to date and HTML is valid"
steps:
- checkout
- run: npm ci
- run: npm run build
jobs:
checks:
docker:
- image: "cimg/node:18.15.0"
steps:
- run-checks: {}
test:
docker:
- image: "cimg/node:18.15.0-browsers"
steps:
- run-tests: {}
build:
docker:
- image: "cimg/node:18.15.0"
steps:
- run-build: {}
workflows:
version: 2
build:
jobs:
- checks
- build
- test