Skip to content

Commit 5d48749

Browse files
committedApr 13, 2023
ci: fix broken github action cache saving
1 parent 25920e7 commit 5d48749

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎.github/workflows/node.js.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
uses: actions/setup-node@v3
2828
with:
2929
node-version: ${{ matrix.node-version }}
30-
cache: 'npm'
30+
path: ~/.npm
31+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
3132
- name: Install Dependencies On Old Node ${{ matrix.node-version }}
3233
if: ${{ matrix.test-on-old-node == '1' }}
3334
run: node ci/remove-deps-4-old-node.js && yarn install --ignore-scripts

0 commit comments

Comments
 (0)
Please sign in to comment.