Skip to content

Commit 5a146dd

Browse files
committed
chrome
1 parent f96f2f3 commit 5a146dd

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/test-changed-auth.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,21 @@ name: Test Auth
22

33
on: pull_request
44

5+
env:
6+
# make chromedriver detect installed Chrome version and download the corresponding driver
7+
DETECT_CHROMEDRIVER_VERSION: true
8+
59
jobs:
610
test:
711
name: Test Auth If Changed
812
runs-on: ubuntu-latest
913

1014
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
1120
- name: Checkout Repo
1221
uses: actions/checkout@master
1322
with:
@@ -17,10 +26,6 @@ jobs:
1726
uses: actions/setup-node@v2
1827
with:
1928
node-version: 14.x
20-
- name: install Chrome stable
21-
run: |
22-
sudo apt-get update
23-
sudo apt-get install google-chrome-stable
2429
- name: Bump Node memory limit
2530
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2631
- name: Test setup and yarn install

0 commit comments

Comments
 (0)