Merge pull request #821 from yunnysunny/feature/ci-fix · forwardemail/supertest@c1b8f9d (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit c1b8f9d
Merge pull request #821 from yunnysunny/feature/ci-fix
ci: fix broken github action cache saving
1 file changed
Lines changed: 2 additions & 1 deletion
File tree
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -27,7 +27,8 @@ jobs: | ||
| 27 | 27 | uses: actions/setup-node@v3 |
| 28 | 28 | with: |
| 29 | 29 | node-version: ${{ matrix.node-version }} |
| 30 | -cache: 'npm' | |
| 30 | +path: ~/.npm | |
| 31 | +key: runner.os−build−{{ runner.os }}-build-runner.os−build−{{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
| 31 | 32 | - name: Install Dependencies On Old Node ${{ matrix.node-version }} |
| 32 | 33 | if: ${{ matrix.test-on-old-node == '1' }} |
| 33 | 34 | run: node ci/remove-deps-4-old-node.js && yarn install --ignore-scripts |