File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,20 +35,22 @@ jobs:
3535 if : ${{ needs.changes.outputs.frontend == 'true' }}
3636 runs-on : ubuntu-latest
3737 timeout-minutes : 7
38- env :
39- CHROME_BIN : google-chrome
4038 steps :
4139 - uses : actions/checkout@v4
4240 - uses : actions/setup-node@v4
4341 with :
4442 node-version : 14
4543 cache : npm
4644 cache-dependency-path : frontend/package-lock.json
45+ - uses : browser-actions/setup-chrome@v2
46+ id : setup-chrome
4747 - run : npm install -g npm@6.14.18
4848 - run : npm install
4949 working-directory : ./frontend
5050 - run : npm run test
5151 working-directory : ./frontend
52+ env :
53+ CHROME_BIN : ${{ steps.setup-chrome.outputs.chrome-path }}
5254
5355 node-next-test :
5456 strategy :
@@ -58,14 +60,16 @@ jobs:
5860 if : ${{ needs.changes.outputs.frontend == 'true' }}
5961 runs-on : ubuntu-latest
6062 timeout-minutes : 7
61- env :
62- CHROME_BIN : google-chrome
6363 steps :
6464 - uses : actions/checkout@v4
6565 - uses : actions/setup-node@v4
6666 with :
6767 node-version : ${{ matrix.node_version }}
68+ - uses : browser-actions/setup-chrome@v2
69+ id : setup-chrome
6870 - run : npm install
6971 working-directory : ./frontend
7072 - run : npm run test
7173 working-directory : ./frontend
74+ env :
75+ CHROME_BIN : ${{ steps.setup-chrome.outputs.chrome-path }}
You can’t perform that action at this time.
0 commit comments