Skip to content

Commit b6f3321

Browse files
committed
chore: Use new caching mechanism
1 parent f63fdab commit b6f3321

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/build_test_publish.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,7 @@ jobs:
2222
uses: actions/setup-node@v4
2323
with:
2424
node-version: 22.x
25-
26-
- name: Set yarn cache directory
27-
id: yarn-cache-dir-path
28-
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
29-
30-
- name: Get yarn cache
31-
uses: actions/cache@v4
32-
id: yarn-cache
33-
with:
34-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
35-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
36-
restore-keys: |
37-
${{ runner.os }}-yarn-
25+
cache: yarn
3826

3927
- name: Setup yarn
4028
run: |

0 commit comments

Comments
 (0)