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:
|
||||
- 'web/**'
|
||||
- 'test/automated/browser/**'
|
||||
|
||||
jobs:
|
||||
cypress-run:
|
||||
runs-on: ubuntu-latest
|
||||
@ -21,13 +22,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-go@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
go-version: '1.18.8'
|
||||
cache: true
|
||||
|
||||
- name: Install Google Chrome
|
||||
run: sudo apt-get install google-chrome-stable
|
||||
node-version: 18.9.0
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v3
|
||||
@ -41,6 +38,14 @@ jobs:
|
||||
${{ runner.os }}-build-
|
||||
${{ 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
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user