From 69d5cfe98e2da11d2de1195e2b878cee3c21e2e2 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Tue, 7 Dec 2021 21:22:21 -0800 Subject: [PATCH 1/2] Use node 16.10.0 on the e2e GHA --- .github/workflows/cypress.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1f1fdda94..8fd98ad38 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -15,6 +15,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: 16.10.0 + - run: npm install - name: ${{ matrix.browser }} browser tests (Mempool) uses: cypress-io/github-action@v2 with: From b6215dd54f9ec0dde5cb5ae120dbe3afa3954e0f Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Tue, 7 Dec 2021 21:27:22 -0800 Subject: [PATCH 2/2] Enable dependency caching on e2e GHA --- .github/workflows/cypress.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 8fd98ad38..1b565e71a 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -19,7 +19,8 @@ jobs: uses: actions/setup-node@v2 with: node-version: 16.10.0 - - run: npm install + cache: 'npm' + cache-dependency-path: frontend/package-lock.json - name: ${{ matrix.browser }} browser tests (Mempool) uses: cypress-io/github-action@v2 with: