ci: refresh workflow (re-run pipelines)
This commit is contained in:
+10
-2
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# ci-sync: 2026-05-30T02:23:29Z
|
# ci-sync: 2026-05-30T02:27:52Z
|
||||||
# Homelab CI — Node/pages lane (git-ci-01) + secret scan (git-ci-02)
|
# Homelab CI — Node/pages lane (git-ci-01) + secret scan (git-ci-02)
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
@@ -50,7 +50,15 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f package-lock.json ]; then npm ci; else npm install; fi
|
if [ -f package-lock.json ]; then
|
||||||
|
if ! npm ci; then
|
||||||
|
echo "npm ci failed (lock file out of sync?) — falling back to npm install"
|
||||||
|
rm -rf node_modules
|
||||||
|
npm install
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
npm install
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f playwright.config.ts ] || [ -f playwright.config.js ] || [ -f playwright.config.mjs ] \
|
if [ -f playwright.config.ts ] || [ -f playwright.config.js ] || [ -f playwright.config.mjs ] \
|
||||||
|| grep -q '@playwright/test' package.json 2>/dev/null; then
|
|| grep -q '@playwright/test' package.json 2>/dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user