remove the database migration script from GH CICD pipeline
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -78,11 +78,9 @@ jobs:
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build application
|
||||
run: pnpm build
|
||||
run: pnpm build:ci
|
||||
env:
|
||||
# Provide minimal env vars for build (no actual secrets needed for build check)
|
||||
POSTGRES_URL: "postgresql://user:pass@localhost:5432/db"
|
||||
BETTER_AUTH_SECRET: "build-check-secret-32-characters!"
|
||||
NEXT_PUBLIC_APP_URL: "http://localhost:3000"
|
||||
# Skip database migration during CI build
|
||||
SKIP_ENV_VALIDATION: "true"
|
||||
|
||||
@@ -103,6 +103,7 @@ BLOB_READ_WRITE_TOKEN= # Leave empty for local dev, set for Vercel Blob in prod
|
||||
```bash
|
||||
npm run dev # Start dev server (DON'T run this yourself - ask user)
|
||||
npm run build # Build for production (runs db:migrate first)
|
||||
npm run build:ci # Build without database (for CI/CD pipelines)
|
||||
npm run start # Start production server
|
||||
npm run lint # Run ESLint (ALWAYS run after changes)
|
||||
npm run typecheck # TypeScript type checking (ALWAYS run after changes)
|
||||
|
||||
4
create-agentic-app/package-lock.json
generated
4
create-agentic-app/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "create-agentic-app",
|
||||
"version": "1.1.22",
|
||||
"version": "1.1.23",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "create-agentic-app",
|
||||
"version": "1.1.22",
|
||||
"version": "1.1.23",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"chalk": "^5.3.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "create-agentic-app",
|
||||
"version": "1.1.22",
|
||||
"version": "1.1.23",
|
||||
"description": "Scaffold a new agentic AI application with Next.js, Better Auth, and AI SDK",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
@@ -103,6 +103,7 @@ BLOB_READ_WRITE_TOKEN= # Leave empty for local dev, set for Vercel Blob in prod
|
||||
```bash
|
||||
npm run dev # Start dev server (DON'T run this yourself - ask user)
|
||||
npm run build # Build for production (runs db:migrate first)
|
||||
npm run build:ci # Build without database (for CI/CD pipelines)
|
||||
npm run start # Start production server
|
||||
npm run lint # Run ESLint (ALWAYS run after changes)
|
||||
npm run typecheck # TypeScript type checking (ALWAYS run after changes)
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack",
|
||||
"build": "pnpm run db:migrate && next build",
|
||||
"build:ci": "next build",
|
||||
"start": "next start",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "tsc --noEmit",
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack",
|
||||
"build": "pnpm run db:migrate && next build",
|
||||
"build:ci": "next build",
|
||||
"start": "next start",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "tsc --noEmit",
|
||||
|
||||
Reference in New Issue
Block a user