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.
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user