cache npm
Some checks failed
Build and deploy website. / Build static site. (push) Failing after 33s
Build and deploy website. / Connect to deployment host, update, and redeploy docs website. (push) Has been skipped

This commit is contained in:
2025-09-10 21:11:17 -07:00
parent 6aed0196e2
commit a981ee30e2

View File

@@ -46,6 +46,15 @@ jobs:
uses: https://github.com/actions/setup-node@v2
with:
node-version: '20'
cache: 'npm'
-
name: Restore node_modules cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node_modules
-
name: Install node dependencies
run: npm ci