Cache npm downloads in Gitea workflows

This commit is contained in:
Kevin
2026-09-04 02:01:29 -04:00
parent d76de0ccb4
commit 6fa54a23d9
7 changed files with 29 additions and 5 deletions
+3 -1
View File
@@ -34,8 +34,10 @@ jobs:
uses: https://github.com/actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: package-lock.json
- name: Install locked dependencies
run: npm ci
run: npm ci --prefer-offline --no-audit --no-fund
- name: Validate and build production site
run: npm run build:site
- name: Verify production output