Skip to content

Commit

Permalink
fix: playwright action
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt committed Mar 11, 2024
1 parent 548c1b5 commit 9a07a93
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm ci && npx playwright install --with-deps
- name: Start the development server
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
NEXT_PUBLIC_APP_URL: http://localhost:8080
LUNARY_PUBLIC_KEY: 259d2d94-9446-478a-ae04-484de705b522

run: |
npm run dev &
npx wait-on http://localhost:3333
- name: Run tests
run: npx playwright test
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore
Dockerfile

# VScode
packages/frontend/Frontend.code-workspace

# Logs

_.log
Expand Down
2 changes: 1 addition & 1 deletion ops
Submodule ops updated from b0d8a8 to 24044c

0 comments on commit 9a07a93

Please sign in to comment.