Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Fixes integration test failures caused by missing DATABASE_URL environment variable. Changes: - Add dotenv as dev dependency to load .env.test in vitest setup - Add .env.test to .gitignore to prevent committing test credentials - Create .env.test.example with warning comments for documentation - Add conditional test skipping when DATABASE_URL is not available - Add DATABASE_URL format validation in vitest setup - Add error handling to test cleanup to prevent silent failures - Remove filesystem path disclosure from error messages The fix allows integration tests to: - Load DATABASE_URL from .env.test locally for developers with database setup - Skip gracefully if DATABASE_URL is not available (no database running) - Connect to postgres service in CI where DATABASE_URL is explicitly provided Tests affected: auth-rls.integration.spec.ts and other integration tests requiring real database connections. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
61 lines
804 B
Plaintext
61 lines
804 B
Plaintext
# Dependencies
|
|
node_modules
|
|
.pnpm-store
|
|
|
|
# Build outputs
|
|
dist
|
|
.next
|
|
.turbo
|
|
|
|
# Compiled source (prevent accidental commits)
|
|
apps/*/src/**/*.js
|
|
apps/*/src/**/*.d.ts
|
|
apps/*/src/**/*.js.map
|
|
apps/*/src/**/*.d.ts.map
|
|
packages/*/src/**/*.js
|
|
packages/*/src/**/*.d.ts
|
|
packages/*/src/**/*.js.map
|
|
packages/*/src/**/*.d.ts.map
|
|
|
|
# IDE
|
|
.idea
|
|
.vscode
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
.env.test
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
.env.bak.*
|
|
|
|
# Credentials (never commit)
|
|
.admin-credentials
|
|
|
|
# Testing
|
|
coverage
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
pnpm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Misc
|
|
*.tsbuildinfo
|
|
.pnpm-approve-builds
|
|
|
|
# Husky
|
|
.husky/_
|
|
|
|
# Orchestrator reports (generated by QA automation, cleaned up after processing)
|
|
docs/reports/qa-automation/
|