Skip to content

Commit 1403c91

Browse files
committed
chore: copy env prior to typecheck
prisma now uses the prisma config file, which calls into `env` to get teh database url to generate types. this requires the env var to be set to work, so we copy the example env to the env
1 parent 12dbd7c commit 1403c91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
- name: Setup
5555
uses: ./tooling/github/setup
5656

57+
- name: Copy env
58+
shell: bash
59+
run: cp .env.example .env
60+
5761
- name: Typecheck
5862
run: pnpm typecheck
5963
# TODO: Add test CI

0 commit comments

Comments
 (0)