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: |