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