-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathconfig.yml
More file actions
39 lines (34 loc) · 883 Bytes
/
config.yml
File metadata and controls
39 lines (34 loc) · 883 Bytes
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
version: 2.1
orbs:
browser-tools: circleci/browser-tools@1.4.8
jobs:
build:
docker:
- image: cimg/node:16.20.2-browsers
steps:
- browser-tools/install-browser-tools
- checkout
- run: |
node --version
java --version
google-chrome --version
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: npm run build:umd
- run:
name: Compatibility Test
command: |
if [ -z "$CIRCLE_PR_NUMBER" ];
then
npm run test:compat
fi
- run: npm run test
- store_test_results:
path: /tmp/test-results