Skip to content

Commit

Permalink
fix(repo): update github workflows to use v3 actions (#12617)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Oct 14, 2022
1 parent 10e626c commit 3a30689
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-matrix.yml
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/e2e-windows.yml
Expand Up @@ -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
Expand All @@ -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') }}
Expand All @@ -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

Expand Down

0 comments on commit 3a30689

Please sign in to comment.