fix: use npm install when no lockfile
All checks were successful
Deploy / lint-build-deploy (push) Successful in 1m20s

This commit is contained in:
2026-01-18 16:35:26 +00:00
parent 63b462b6f2
commit 93c6458a9f

View File

@@ -17,7 +17,12 @@ jobs:
node-version: '18' node-version: '18'
- name: Install dependencies - name: Install dependencies
run: npm ci run: |
if [ -f package-lock.json ]; then
npm ci
else
npm install
fi
- name: Run linting - name: Run linting
run: npm run lint run: npm run lint