Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 98456ad

Browse files
committed
Cache node_modules
1 parent 2c005f4 commit 98456ad

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
paths:
77
- "docs/**"
88
workflow_dispatch:
9-
9+
1010
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1111
permissions:
1212
contents: read
@@ -37,7 +37,9 @@ jobs:
3737
- uses: actions/cache@v3
3838
id: npm-cache
3939
with:
40-
path: ${{ steps.npm-cache-dir.outputs.dir }}
40+
path: |
41+
${{ steps.npm-cache-dir.outputs.dir }}
42+
docs/node_modules
4143
key: ${{ runner.os }}-node-${{ hashFiles('**/docs/package-lock.json') }}
4244
restore-keys: |
4345
${{ runner.os }}-node-

0 commit comments

Comments
 (0)