Skip to content

Commit

Permalink
ci: skip prisma generate on postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Jul 6, 2022
1 parent 07c77f7 commit b947d47
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-e2e-nextjs-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

- name: Create and seed test database
working-directory: packages/db-main-prisma
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-e2e-prisma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:
- name: Install dependencies
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

- name: E2E prisma
working-directory: packages/db-main-prisma
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-monorepo-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
- name: Install dependencies
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

- name: Check for duplicate dependencies in lock file
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-nextjs-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ jobs:
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

- name: Typecheck
working-directory: apps/nextjs-app
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ jobs:
- name: Install dependencies
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

# Typecheck packages that have changed + packages and apps that depends on them (--from & --since)
# That allows to see if we're introducing "surface" regressions (just the types)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-remix-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
- name: Install dependencies
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

- name: Typecheck
working-directory: apps/remix-app
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-vite-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
- name: Install dependencies
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

- name: Typecheck
working-directory: apps/vite-app
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release-or-version-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ jobs:
restore-keys: |
yarn-cache-folder-
- name: Install Dependencies
run: yarn install --immutable
- name: Install dependencies
run: |
yarn install --immutable
env:
PRISMA_SKIP_POSTINSTALL_GENERATE: true
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
HUSKY: 0

# @link https://github.com/changesets/action
Expand Down

0 comments on commit b947d47

Please sign in to comment.