Skip to content

Commit 56334fa

Browse files
committed
chore: immediately cache dependencies, not wait until the end
1 parent d374502 commit 56334fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/npm-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
id: npm-cache-dir
2121
shell: bash
2222
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
23-
- uses: actions/cache@v4
23+
- uses: actions/cache/restore@v4
2424
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
2525
with:
2626
path: ${{ steps.npm-cache-dir.outputs.dir }}

0 commit comments

Comments
 (0)