From 954abb0939df60654f203424213d3019a4dd7d42 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Sun, 17 May 2026 04:08:31 -0700 Subject: [PATCH] fix: restore npm ci and prisma generate in build-and-deploy-ci Acceptance tests import prisma via @/ path alias and @cucumber/cucumber, so they need node_modules and Prisma client. Cannot remove these steps without refactoring tests to not import local code. --- .gitea/workflows/pr.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 046cd5f..c557378 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -44,6 +44,16 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + # Required for acceptance tests - they import prisma via @/ path alias + # and @cucumber/cucumber for cucumber-e2e tests + - name: Install dependencies + run: npm ci --legacy-peer-deps + + - name: Generate Prisma client + run: npx prisma generate + env: + DATABASE_URL: postgresql://user:pass@localhost:5432/dummy + - name: Extract PR number and commit info id: info run: |