Skip to content

Commit c1b8f9d

Browse files
authoredApr 13, 2023
Merge pull request #821 from yunnysunny/feature/ci-fix
ci: fix broken github action cache saving
2 parents 25920e7 + 5d48749 commit c1b8f9d

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.