Skip to content

Commit 167afc1

Browse files
committed
use native yarn cache handling
1 parent ce6c1af commit 167afc1

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/actions/yarn/action.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ runs:
88
uses: actions/setup-node@v4
99
with:
1010
node-version-file: .nvmrc
11-
- uses: actions/cache@v4
12-
with:
13-
path: |
14-
**/node_modules
15-
key: v1-yarn-${{ runner.os }}-${{ hashFiles('.nvmrc') }}-${{ hashFiles('**/yarn.lock') }}
16-
- name: Install Dependencies If Not Cached
17-
run: \[ -d node_modules \] || yarn install --immutable
11+
cache: 'yarn'
12+
- name: Install Dependencies
13+
run: yarn install --immutable
1814
shell: bash

0 commit comments

Comments
 (0)