From d96aa6d1f36c1cba4aca2019f8ab430ac8e8caf7 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 24 May 2021 19:53:58 +0530 Subject: [PATCH] Update Node version --- .github/workflows/cypress.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index b48e440f..40db65f5 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -5,11 +5,23 @@ on: [push] jobs: cypress-run: runs-on: ubuntu-latest - container: cypress/browsers:node12.18.3-chrome87-ff82 + container: cypress/browsers:node14.16.0-chrome90-ff88 steps: - name: Checkout uses: actions/checkout@v2 + + - uses: actions/cache@v2 + id: yarn-and-build-cache + with: + path: | + ~/.cache/Cypress + build + node_modules + key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node_modules-build- + # Install NPM dependencies, cache them correctly # and run all Cypress tests - name: Cypress run