-
Notifications
You must be signed in to change notification settings - Fork 22
/
config.yml
36 lines (36 loc) · 1.11 KB
/
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
version: 2.1
orbs:
node: circleci/node@5.0.2
browser-tools: circleci/browser-tools@1.4.0
codecov: codecov/codecov@3.2.3
jobs:
build-and-test:
parameters:
node-version:
type: string
executor:
name: node/default
# TODO: switch back to 'lts'. Temp workaround for issues with lts v16.
# https://github.com/salesforce/sa11y/issues/82
tag: << parameters.node-version >>
steps:
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- checkout
- run: yarn build:ci
- run:
command: yarn test:ci
environment:
JEST_JUNIT_OUTPUT_DIR: ./reports/
- store_test_results:
path: ./reports/
- codecov/upload
workflows:
matrix-tests:
jobs:
- build-and-test:
matrix:
parameters:
node-version:
- '14.19.3'
- '16.16.0'