Skip to content

Commit d8db704

Browse files
committed
move chrome installation up
1 parent f698d70 commit d8db704

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/test-all.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
build:
3434
runs-on: ubuntu-latest
3535
steps:
36+
# Install Chrome so the correct version of webdriver can be installed by chromedriver when
37+
# setting up the repo. This must be done to build and execute Auth properly.
38+
- name: install Chrome stable
39+
run: |
40+
npx @puppeteer/browsers install chrome@stable
3641
- uses: actions/checkout@v4
3742
- uses: actions/setup-node@v4
3843
with:
@@ -46,9 +51,6 @@ jobs:
4651
path: "**/node_modules"
4752
key: node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
4853
- run: yarn install --frozen-lockfile
49-
- name: install Chrome stable
50-
run: |
51-
npx @puppeteer/browsers install chrome@stable
5254
- name: Test setup
5355
run: cp config/ci.config.json config/project.json
5456
- name: yarn build
@@ -68,11 +70,11 @@ jobs:
6870
needs: build
6971
runs-on: ubuntu-latest
7072
steps:
71-
- uses: actions/checkout@v4
7273
# install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
7374
- name: install Chrome stable
7475
run: |
7576
npx @puppeteer/browsers install chrome@stable
77+
- uses: actions/checkout@v4
7678
- name: Download build archive
7779
uses: actions/download-artifact@v4
7880
with:
@@ -167,11 +169,11 @@ jobs:
167169
needs: build
168170
runs-on: ubuntu-latest
169171
steps:
170-
- uses: actions/checkout@v4
171-
# install Chrome so the correct version of webdriver can be installed by chromedriver when setting up the repo
172172
- name: install Chrome stable
173173
run: |
174174
npx @puppeteer/browsers install chrome@stable
175+
- uses: actions/checkout@v4
176+
# install Chrome so the correct version of webdriver can be installed by chromedriver when setting up the repo
175177
- name: Download build archive
176178
uses: actions/download-artifact@v4
177179
with:

0 commit comments

Comments
 (0)