File tree Expand file tree Collapse file tree 3 files changed +27
-13
lines changed Expand file tree Collapse file tree 3 files changed +27
-13
lines changed Original file line number Diff line number Diff line change 1
1
name : Test All Packages
2
2
3
3
on : push
4
+ env :
5
+ # make chromedriver detect installed Chrome version and download the corresponding driver
6
+ DETECT_CHROMEDRIVER_VERSION : true
4
7
5
8
jobs :
6
9
test :
7
10
name : Node.js and Browser (Chrome) Tests
8
11
runs-on : ubuntu-latest
9
12
10
13
steps :
14
+ # install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
15
+ - name : install Chrome stable
16
+ run : |
17
+ sudo apt-get update
18
+ sudo apt-get install google-chrome-stable
11
19
- uses : actions/checkout@v2
12
20
- name : Set up Node (14)
13
21
uses : actions/setup-node@v2
14
22
with :
15
23
node-version : 14.x
16
- - name : install Chrome stable
17
- run : |
18
- sudo apt-get update
19
- sudo apt-get install google-chrome-stable
20
24
- name : Bump Node memory limit
21
25
run : echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
22
26
- name : Test setup and yarn install
Original file line number Diff line number Diff line change @@ -2,12 +2,21 @@ name: Test Auth
2
2
3
3
on : pull_request
4
4
5
+ env :
6
+ # make chromedriver detect installed Chrome version and download the corresponding driver
7
+ DETECT_CHROMEDRIVER_VERSION : true
8
+
5
9
jobs :
6
10
test :
7
11
name : Test Auth If Changed
8
12
runs-on : ubuntu-latest
9
13
10
14
steps :
15
+ # install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
16
+ - name : install Chrome stable
17
+ run : |
18
+ sudo apt-get update
19
+ sudo apt-get install google-chrome-stable
11
20
- name : Checkout Repo
12
21
uses : actions/checkout@master
13
22
with :
@@ -17,17 +26,13 @@ jobs:
17
26
uses : actions/setup-node@v2
18
27
with :
19
28
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
29
- name : Bump Node memory limit
25
30
run : echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
26
31
- name : Test setup and yarn install
27
32
run : |
28
33
cp config/ci.config.json config/project.json
29
34
yarn
30
35
- name : build
31
- run : yarn build:changed auth --buildAll
36
+ run : yarn build:changed auth
32
37
- name : Run tests on changed packages
33
38
run : xvfb-run yarn test:changed auth
Original file line number Diff line number Diff line change @@ -2,12 +2,21 @@ name: Test FCM integration
2
2
3
3
on : pull_request
4
4
5
+ env :
6
+ # make chromedriver detect installed Chrome version and download the corresponding driver
7
+ DETECT_CHROMEDRIVER_VERSION : true
8
+
5
9
jobs :
6
10
test :
7
11
name : Test FCM integration If Changed
8
12
runs-on : ubuntu-latest
9
13
10
14
steps :
15
+ # install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
16
+ - name : install Chrome stable
17
+ run : |
18
+ sudo apt-get update
19
+ sudo apt-get install google-chrome-stable
11
20
- name : Checkout Repo
12
21
uses : actions/checkout@master
13
22
with :
17
26
uses : actions/setup-node@v2
18
27
with :
19
28
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
29
- name : Bump Node memory limit
25
30
run : echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
26
31
- name : Test setup and yarn install
You can’t perform that action at this time.
0 commit comments