Skip to content

Commit

Permalink
Fix playwright CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
neongreen committed Sep 1, 2024
1 parent 2829995 commit 53feaef
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: npm ci

- name: Create DB tables
run: npx prisma db push
run: npx dotenv -e .env -- prisma db push

# Note: we always install Chromium because we use it in playwright-setup.ts, but ideally it should be fixed
- name: Install Playwright
Expand All @@ -63,7 +63,7 @@ jobs:

# Note: Playwright will start the server by itself, see playwright.config.ts
- name: Run Playwright tests
run: npx playwright test --browser ${{ matrix.browser }}
run: npx dotenv -e .env -- playwright test --browser ${{ matrix.browser }}

- uses: actions/upload-artifact@v3
if: always()
Expand Down
43 changes: 43 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"@types/turndown": "^5.0.1",
"@types/validator": "^13.9.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"dotenv-cli": "^7.4.2",
"esbuild": "^0.18.18",
"eslint": "^8.46.0",
"eslint-config-next": "13.4.12",
Expand Down

0 comments on commit 53feaef

Please sign in to comment.