From 3869bed0bf9664b4844fc90f30b6f1f7c87dba0e Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 17 Mar 2023 18:24:17 -0700 Subject: [PATCH] Specify node version for browser tests --- .github/workflows/browser-testing.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml index 76673e242..d31a64f7e 100644 --- a/.github/workflows/browser-testing.yml +++ b/.github/workflows/browser-testing.yml @@ -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: