Skip to content

Commit

Permalink
Add yarn cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Oct 21, 2024
1 parent b17fbe9 commit 8954cee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn

Expand Down

0 comments on commit 8954cee

Please sign in to comment.