Skip to content

Commit

Permalink
GHA fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jho44 committed Aug 6, 2023
1 parent f110733 commit c0428d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]
env:
DATABASE_PRISMA_URL: postgres://postgres:postgres@localhost:5432/test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
PUBLIC_URL: http://localhost:5173
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -42,6 +43,9 @@ jobs:
- name: Build in node mode
run: yarn nodebuild

- name: Install playwright
run: npx playwright install

- name: Install Playwright dependencies (just chromium for now)
run: npx playwright install-deps chromium

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"test:unit": "vitest",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"reset": "prisma migrate reset && yarn dev",
"postinstall": "prisma generate",
"reset": "prisma migrate reset && yarn dev",
"postinstall": "prisma migrate dev",
"build:prev": "vite build && vite preview",
"seed": "prisma db seed"
},
Expand Down

0 comments on commit c0428d0

Please sign in to comment.