Production Deployment Fixes and Enhancements #3

Merged
ilia merged 38 commits from dev into main 2026-01-04 16:37:35 -05:00
2 changed files with 11 additions and 4 deletions
Showing only changes of commit cbf49bf306 - Show all commits

View File

@ -11,7 +11,6 @@ jobs:
skip-ci-check:
runs-on: ubuntu-latest
outputs:
# Default to 'false' if the step output is missing (some runners are picky)
should-skip: ${{ steps.check.outputs.skip || 'false' }}
steps:
- name: Check out code (for commit message)
@ -22,7 +21,6 @@ jobs:
- name: Check if CI should be skipped
id: check
run: |
# Default to not skipping
SKIP=false
# Simple skip pattern: @skipci (case-insensitive)
@ -54,9 +52,7 @@ jobs:
fi
fi
# Set outputs in both modern and legacy formats for wider runner compatibility
echo "skip=$SKIP" >> "$GITHUB_OUTPUT"
echo "::set-output name=skip::$SKIP"
echo "Branch: $BRANCH_NAME"
echo "Commit: ${COMMIT_MSG:0:50}..."
echo "Skip CI: $SKIP"
@ -74,6 +70,11 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Generate Prisma Client
run: npm run db:generate
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/mirrormatch?schema=public
- name: Run ESLint
run: npm run lint

6
types/prisma.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
// Fallback typings for CI environments where Prisma's generated
// module resolution can be finicky under `moduleResolution: bundler`.
declare module '@prisma/client' {
export * from '@prisma/client/.prisma/client';
export { PrismaClient } from '@prisma/client/.prisma/client';
}