Skip to content

Commit

Permalink
make yarn cache work on other platforms than linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnetCarpenter committed Nov 7, 2024
1 parent d459e45 commit 1aed2fe
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Cache yarn cache
uses: actions/cache@v4
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
restore-keys: |
${{ runner.os }}-yarn-
cache: yarn
cache-dependency-path: yarn.lock
- name: Install and build
run: |
yarn --frozen-lockfile
Expand Down

0 comments on commit 1aed2fe

Please sign in to comment.