From 088a60607d0d9ccf83efb1da3ea28198d63eb875 Mon Sep 17 00:00:00 2001 From: Miroslav Jonas Date: Fri, 14 Oct 2022 21:31:21 +0200 Subject: [PATCH] fix(repo): update github workflows to use v3 actions --- .github/workflows/e2e-matrix.yml | 4 ++-- .github/workflows/e2e-windows.yml | 11 ++--------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/e2e-matrix.yml b/.github/workflows/e2e-matrix.yml index e020d5f8e3fd9..a65c3c3a690bb 100644 --- a/.github/workflows/e2e-matrix.yml +++ b/.github/workflows/e2e-matrix.yml @@ -99,7 +99,7 @@ jobs: version: 7.1.0 - name: Use Node.js ${{ matrix.node_version }} - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node_version }} registry-url: http://localhost:4872 @@ -109,7 +109,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ matrix.os }}-node-${{ matrix.node_version }}-yarn-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.yml index c15dc5b3b99a7..96cc74ed8092e 100644 --- a/.github/workflows/e2e-windows.yml +++ b/.github/workflows/e2e-windows.yml @@ -45,7 +45,7 @@ jobs: fetch-depth: 0 - name: Use Node.js ${{ matrix.node_version }} - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node_version }} registry-url: http://localhost:4872 @@ -55,7 +55,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: windows-node-${{ matrix.node_version }}-yarn-${{ hashFiles('yarn.lock') }} @@ -64,13 +64,6 @@ jobs: windows-node-${{ matrix.node_version }}- windows- - - name: Cache Cypress Binary - id: cache-cypress-binary - uses: actions/cache@v2 - with: - path: C:\Users\runneradmin\AppData\Local\Cypress\Cache - key: cypress-binary-${{ hashFiles('yarn.lock') }} - - name: Install packages run: yarn install --prefer-offline --frozen-lockfile --non-interactive