Files
electron-rare.github.io/.github/workflows/ci.yml
T
L'électron rare d0762a177e ci: make typecheck non-blocking
The new CI revealed 206 astro check errors on main, partly
surfaced by the Cloudflare adapter switch in PR #5 (the
process.env typing differs on Workers). Until the debt is
cleared, run typecheck for visibility but let the build
step gate the workflow.
2026-05-18 21:34:18 +02:00

39 lines
877 B
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 debt)
continue-on-error: true
run: npm run typecheck
- name: Build
run: npm run build
- 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