File tree Expand file tree Collapse file tree
actions/setup-environment Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - name : Setup Node.js
77 uses : actions/setup-node@v4
88 with :
9- node-version : 22 .x
9+ node-version : 24 .x
1010
1111 - name : Setup pnpm
1212 uses : pnpm/action-setup@v4
1717
1818 - name : Generate Prisma Client (types only)
1919 shell : bash
20- run : pnpm exec prisma generate
20+ run : pnpm exec svelte-kit sync && pnpm exec prisma generate
Original file line number Diff line number Diff line change 1313jobs :
1414 lint :
1515 runs-on : ubuntu-latest
16+ env :
17+ DATABASE_URL : ' postgresql://postgres:postgres@localhost:5432/postgres'
1618 steps :
1719 - uses : actions/checkout@v4
1820 - uses : ./.github/actions/setup-environment
2123
2224 playwright_tests :
2325 runs-on : ubuntu-latest
26+ env :
27+ DATABASE_URL : ' postgresql://postgres:postgres@localhost:5432/postgres'
28+ AUTH_GOOGLE_ID : ${{ secrets.AUTH_GOOGLE_ID }}
29+ AUTH_GOOGLE_SECRET : ${{ secrets.AUTH_GOOGLE_SECRET }}
2430 services :
2531 postgres :
2632 image : postgres:latest
4046 - uses : actions/checkout@v4
4147 - uses : ./.github/actions/setup-environment
4248
43- - name : Set DATABASE_URL
44- run : echo "DATABASE_URL=postgresql://postgres:postgres@localhost:5432/defaultdb?sslmode=disable" >> .env
45-
4649 - name : Initialize database schema
4750 run : |
4851 pnpm exec prisma migrate deploy
6871 name : playwright-report
6972 path : playwright-report/
7073 retention-days : 30
71-
72- env :
73- AUTH_GOOGLE_ID : ${{ secrets.AUTH_GOOGLE_ID }}
74- AUTH_GOOGLE_SECRET : ${{ secrets.AUTH_GOOGLE_SECRET }}
Original file line number Diff line number Diff line change 11test-results
22node_modules
3+ .pnpm-store
34
45# Output
56.output
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default defineConfig({
55 schema : 'prisma' ,
66 migrations : {
77 path : 'prisma/migrations' ,
8- seed : 'tsx prisma/seed.ts'
8+ seed : 'tsx prisma/seed/seed .ts'
99 } ,
1010 datasource : {
1111 url : env ( 'DATABASE_URL' )
You can’t perform that action at this time.
0 commit comments