From c43c67b57f46f1401e166c2f51572e759a825e4f Mon Sep 17 00:00:00 2001 From: Bart Stefanski Date: Fri, 29 Dec 2023 02:50:46 +0100 Subject: [PATCH] fix: get rid of actions/cache --- .github/workflows/check.yml | 12 ------------ .github/workflows/playwright.yml | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0b9f03be..a2a42960 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -26,18 +26,6 @@ jobs: node-version: "${{ env.node_version }}" cache: "yarn" - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v3 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 9e2ded89..3773f5d9 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -24,18 +24,6 @@ jobs: node-version: "${{ env.node_version }}" cache: "yarn" - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v3 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - name: Install dependencies run: yarn install --frozen-lockfile - name: Install Playwright Browsers