Skip to content

Commit

Permalink
Restore cache
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonD3 committed Mar 5, 2024
1 parent 5322a85 commit 3bbc169
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ jobs:
node-version: 16.x
registry-url: https://registry.npmjs.org

- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile

Expand Down

0 comments on commit 3bbc169

Please sign in to comment.