File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed 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
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