[DRAFT] CI: Trigger pipeline (lint/type/test/build/preview/budgets) #1

Merged
Nicholai merged 19 commits from ci-run-20250918-2021 into main 2025-10-06 10:46:23 +00:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 5910f2c83c - Show all commits

View File

@ -49,8 +49,8 @@ jobs:
shell: bash
run: |
set -euo pipefail
# Start preview in background and verify it doesn't crash immediately
npx @opennextjs/cloudflare@latest preview > preview.log 2>&1 &
# Start preview via local CLI in background and verify it doesn't crash immediately
npm run preview > preview.log 2>&1 &
PREVIEW_PID=$!
# Give it a moment to start
sleep 5
@ -92,4 +92,3 @@ jobs:
else
echo "No sql/schema.sql found; skipping D1 dry-run."
fi

View File

@ -12,8 +12,8 @@
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"pages:build": "npx @opennextjs/cloudflare@latest build",
"preview": "npx @opennextjs/cloudflare@latest preview",
"pages:build": "opennextjs-cloudflare build",
"preview": "opennextjs-cloudflare preview",
"deploy": "wrangler pages deploy .vercel/output/static",
"db:create": "wrangler d1 create united-tattoo",
"db:migrate": "wrangler d1 execute united-tattoo --file=./sql/schema.sql",
@ -105,6 +105,9 @@
"zod": "3.25.67"
},
"devDependencies": {
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.16",
"@tailwindcss/postcss": "^4.1.9",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",