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
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: pnpm build
|
run: pnpm build:ci
|
||||||
env:
|
env:
|
||||||
# Provide minimal env vars for build (no actual secrets needed for build check)
|
# Provide minimal env vars for build (no actual secrets needed for build check)
|
||||||
POSTGRES_URL: "postgresql://user:pass@localhost:5432/db"
|
POSTGRES_URL: "postgresql://user:pass@localhost:5432/db"
|
||||||
BETTER_AUTH_SECRET: "build-check-secret-32-characters!"
|
BETTER_AUTH_SECRET: "build-check-secret-32-characters!"
|
||||||
NEXT_PUBLIC_APP_URL: "http://localhost:3000"
|
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
|
```bash
|
||||||
npm run dev # Start dev server (DON'T run this yourself - ask user)
|
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 # 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 start # Start production server
|
||||||
npm run lint # Run ESLint (ALWAYS run after changes)
|
npm run lint # Run ESLint (ALWAYS run after changes)
|
||||||
npm run typecheck # TypeScript type checking (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",
|
"name": "create-agentic-app",
|
||||||
"version": "1.1.22",
|
"version": "1.1.23",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "create-agentic-app",
|
"name": "create-agentic-app",
|
||||||
"version": "1.1.22",
|
"version": "1.1.23",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.3.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "create-agentic-app",
|
"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",
|
"description": "Scaffold a new agentic AI application with Next.js, Better Auth, and AI SDK",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ BLOB_READ_WRITE_TOKEN= # Leave empty for local dev, set for Vercel Blob in prod
|
|||||||
```bash
|
```bash
|
||||||
npm run dev # Start dev server (DON'T run this yourself - ask user)
|
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 # 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 start # Start production server
|
||||||
npm run lint # Run ESLint (ALWAYS run after changes)
|
npm run lint # Run ESLint (ALWAYS run after changes)
|
||||||
npm run typecheck # TypeScript type checking (ALWAYS run after changes)
|
npm run typecheck # TypeScript type checking (ALWAYS run after changes)
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev --turbopack",
|
"dev": "next dev --turbopack",
|
||||||
"build": "pnpm run db:migrate && next build",
|
"build": "pnpm run db:migrate && next build",
|
||||||
|
"build:ci": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"typecheck": "tsc --noEmit",
|
"typecheck": "tsc --noEmit",
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev --turbopack",
|
"dev": "next dev --turbopack",
|
||||||
"build": "pnpm run db:migrate && next build",
|
"build": "pnpm run db:migrate && next build",
|
||||||
|
"build:ci": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"typecheck": "tsc --noEmit",
|
"typecheck": "tsc --noEmit",
|
||||||
|
|||||||
Reference in New Issue
Block a user