@@ -3,31 +3,61 @@ name: Test Modified Packages
3
3
on : pull_request
4
4
5
5
jobs :
6
- test :
7
- name : Test Packages With Changed Files
6
+ test-chrome :
7
+ name : Test Packages With Changed Files in Chrome and Node
8
8
runs-on : ubuntu-latest
9
9
10
10
steps :
11
- - name : Checkout Repo
12
- uses : actions/checkout@master
13
- with :
14
- # This makes Actions fetch all Git history so run-changed script can diff properly.
15
- fetch-depth : 0
16
- - name : Set up Node (14)
17
- uses : actions/setup-node@v2
18
- with :
19
- node-version : 14.x
20
- - name : install Chrome stable
21
- run : |
22
- sudo apt-get update
23
- sudo apt-get install google-chrome-stable
24
- - name : Bump Node memory limit
25
- run : echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
26
- - name : Test setup and yarn install
27
- run : |
28
- cp config/ci.config.json config/project.json
29
- yarn
30
- - name : build
31
- run : yarn build:changed core
32
- - name : Run tests on changed packages
33
- run : xvfb-run yarn test:changed core
11
+ - name : Checkout Repo
12
+ uses : actions/checkout@master
13
+ with :
14
+ # This makes Actions fetch all Git history so run-changed script can diff properly.
15
+ fetch-depth : 0
16
+ - name : Set up Node (14)
17
+ uses : actions/setup-node@v2
18
+ with :
19
+ node-version : 14.x
20
+ - name : install Chrome stable
21
+ run : |
22
+ sudo apt-get update
23
+ sudo apt-get install google-chrome-stable
24
+ - name : Bump Node memory limit
25
+ run : echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
26
+ - name : Test setup and yarn install
27
+ run : |
28
+ cp config/ci.config.json config/project.json
29
+ yarn
30
+ - name : build
31
+ run : yarn build:changed core
32
+ - name : Run tests on changed packages
33
+ run : xvfb-run yarn test:changed core
34
+
35
+ test-firefox :
36
+ name : Test Packages With Changed Files in Firefox
37
+ runs-on : ubuntu-latest
38
+
39
+ steps :
40
+ - name : Checkout Repo
41
+ uses : actions/checkout@master
42
+ with :
43
+ fetch-depth : 0
44
+ - name : Set up Node (14)
45
+ uses : actions/setup-node@v2
46
+ with :
47
+ node-version : 14.x
48
+ - name : install Firefox stable
49
+ run : |
50
+ sudo apt-get update
51
+ sudo apt-get install firefox
52
+ - name : Bump Node memory limit
53
+ run : echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
54
+ - name : Test setup and yarn install
55
+ run : |
56
+ cp config/ci.config.json config/project.json
57
+ yarn
58
+ - name : build
59
+ run : yarn build:changed core
60
+ - name : Run tests on changed packages
61
+ run : xvfb-run yarn test:changed core
62
+ env :
63
+ BROWSERS : ' Firefox'
0 commit comments