Files
L'électron rare dc28d73e98 ci: revert typecheck and gates to non-blocking
The audit critic claimed astro check reports 0 errors,
13 hints. Reality after enforcing the gate: dozens of
real ts(2531) / ts(18047) / ts(2339) errors in
404.astro, contact.astro, countdown.astro, index-classic
etc. The repo has type debt that needs a focused PR.

Build itself still passes (site ships via Cloudflare).
Re-mark Typecheck, Tracking check and Image budget as
non-blocking so the now-required build check is the only
gate, restoring the ability to merge PRs.

Refs: post-audit critic finding on PR #6.
2026-05-18 22:26:39 +02:00

47 lines
1.1 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install
run: npm ci
- name: Typecheck (non-blocking — repo has known type debt)
continue-on-error: true
run: npm run typecheck
- name: Build
run: npm run build
- name: Tracking check (non-blocking)
continue-on-error: true
run: npm run tracking:check
- name: Image budget (non-blocking)
continue-on-error: true
run: npm run image:budget
- name: Notify ntfy on failure
if: failure()
run: |
curl -s -d "CI FAILED on ${{ github.ref_name }} @ $(date '+%H:%M') — ${{ github.sha }}" \
-H "Title: ER github.io CI Failed" \
-H "Priority: high" \
-H "Tags: rotating_light" \
https://ntfy.saillant.cc/ops-alerts 2>/dev/null || true