Specify node version for browser tests
This commit is contained in:
parent
29820d7265
commit
3869bed0bf
17
.github/workflows/browser-testing.yml
vendored
17
.github/workflows/browser-testing.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'web/**'
|
- 'web/**'
|
||||||
- 'test/automated/browser/**'
|
- 'test/automated/browser/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cypress-run:
|
cypress-run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -21,13 +22,9 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18.8'
|
node-version: 18.9.0
|
||||||
cache: true
|
|
||||||
|
|
||||||
- name: Install Google Chrome
|
|
||||||
run: sudo apt-get install google-chrome-stable
|
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
@ -41,6 +38,14 @@ jobs:
|
|||||||
${{ runner.os }}-build-
|
${{ runner.os }}-build-
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
|
|
||||||
|
- uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: '1.18.8'
|
||||||
|
cache: true
|
||||||
|
|
||||||
|
- name: Install Google Chrome
|
||||||
|
run: sudo apt-get install google-chrome-stable
|
||||||
|
|
||||||
- name: Run Browser tests
|
- name: Run Browser tests
|
||||||
uses: nick-fields/retry@v2
|
uses: nick-fields/retry@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user