fix: add package-lock.json for GitHub Actions caching

- Allow web/package-lock.json in .gitignore for npm caching
- Add package-lock.json to enable GitHub Actions dependency caching
- This fixes the 'unable to cache dependencies' error in CI
This commit is contained in:
jatinkrmalik
2025-05-25 21:16:27 -05:00
parent ec68dd90f0
commit b90d497f5a
3 changed files with 11342 additions and 2 deletions
+6 -1
View File
@@ -31,7 +31,12 @@ jobs:
- name: Install dependencies
working-directory: ./web
run: npm ci
run: |
if [ -f "package-lock.json" ]; then
npm ci
else
npm install
fi
- name: Build website
working-directory: ./web