Merge pull request 'fix: disable lighthouse CI job to unblock PR #11 merge [CAR-938]' (#20) from betty/car-938-disable-lighthouse into dev
CI / test (push) Successful in 42s
CI / lint (pull_request) Successful in 12s
CI / audit (push) Successful in 42s
CI / test (pull_request) Successful in 21s
CI / deploy-dev (push) Failing after 2s
CI / audit (pull_request) Successful in 9s
CI / lint (push) Successful in 1m23s
CI / e2e (push) Successful in 45s
CI / e2e (pull_request) Successful in 44s
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / build-and-push (push) Failing after 3m10s
CI / deploy-uat (push) Has been skipped

Merge PR #20: fix: disable lighthouse CI job [CAR-938]

Remove lighthouse job from .gitea/workflows/ci.yml to unblock dev→uat promotion.
QA approved, CTO reviewed.
This commit was merged in pull request #20.
This commit is contained in:
2026-05-23 21:26:37 +00:00
-34
View File
@@ -70,40 +70,6 @@ jobs:
- run: npx playwright install --with-deps chromium - run: npx playwright install --with-deps chromium
- run: npx playwright test - run: npx playwright test
lighthouse:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: "20"
cache: npm
- run: npm ci
- run: npm run build
- name: Install Chromium for Lighthouse
run: |
npm install -g playwright
npx playwright install --with-deps chromium
- name: Start preview server
run: |
npm run preview -- --port 4173 &
for i in $(seq 1 30); do
if curl -s http://localhost:4173/ > /dev/null 2>&1; then
echo "Server ready on http://localhost:4173/"
exit 0
fi
echo "Waiting for server... ($i/30)"
sleep 2
done
echo "Server failed to start"
exit 1
- name: Run Lighthouse CI
run: |
CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1)
npm install -g @lhci/cli
CHROME_PATH="$CHROME_PATH" lhci autorun --chrome-flags="--headless=new --no-sandbox --disable-gpu --disable-dev-shm-usage"
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'push' if: github.event_name == 'push'