fix: remove redundant npm ci and prisma generate from build-and-deploy-ci
build-and-deploy-ci only needs Docker, compose, and playwright from ci-base. npm ci and prisma generate run inside Docker build. Saves ~60s per PR run.
This commit is contained in:
@@ -44,14 +44,6 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- 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
|
- name: Extract PR number and commit info
|
||||||
id: info
|
id: info
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user