From 1ba9ce735ab7bd7498549b3eeb570fc66f432339 Mon Sep 17 00:00:00 2001 From: trivedi-vatsal Date: Sun, 30 Aug 2026 10:08:58 +0530 Subject: [PATCH 1/2] Add .ci.yml so website Check Runs on ci.openpreflight.xyz. Hosting stays Cloudflare Pages; pipeline uses pnpm to match the lockfile. Co-authored-by: Cursor --- .ci.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .ci.yml diff --git a/.ci.yml b/.ci.yml new file mode 100644 index 0000000..d116068 --- /dev/null +++ b/.ci.yml @@ -0,0 +1,5 @@ +runtime: node:22 +install: corepack enable && corepack prepare pnpm@10 --activate && pnpm install --frozen-lockfile +test: pnpm run check-links +build: pnpm run build +timeout: 15m From f38d84db25002133591d1d0201b5ed428038b177 Mon Sep 17 00:00:00 2001 From: trivedi-vatsal Date: Sun, 30 Aug 2026 10:11:07 +0530 Subject: [PATCH 2/2] Install pnpm via npx in .ci.yml. corepack enable cannot write /usr/local/bin in the node:22 job container. Build before link-check so dist exists. Co-authored-by: Cursor --- .ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.ci.yml b/.ci.yml index d116068..d39c7e6 100644 --- a/.ci.yml +++ b/.ci.yml @@ -1,5 +1,4 @@ runtime: node:22 -install: corepack enable && corepack prepare pnpm@10 --activate && pnpm install --frozen-lockfile -test: pnpm run check-links -build: pnpm run build +install: npx --yes pnpm@10 install --frozen-lockfile +test: npx --yes pnpm@10 run build && npx --yes pnpm@10 run check-links timeout: 15m