Skip to content

Commit

Permalink
Merge pull request #9 from alsoto25/main
Browse files Browse the repository at this point in the history
  • Loading branch information
alsoto25 committed Jul 31, 2024
2 parents edbc384 + 157f604 commit 4ffcce2
Show file tree
Hide file tree
Showing 14 changed files with 911 additions and 13 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Playwright Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: v20.11.1
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run build
run: npm run build
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ node_modules
.vscode
dist
*.zip
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
Loading

0 comments on commit 4ffcce2

Please sign in to comment.