Skip to content

Commit

Permalink
test playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
stevie.hartog committed Jun 11, 2024
1 parent f8d1a76 commit 4b08ee9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@ jobs:
run: npm run type-check
# - name: Check unit tests
# run: npm run test:unit
# - name: Install Playwright Browsers
# run: npx playwright install --with-deps
# - name: Check e2e tests
# run: npm run test:e2e
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Check e2e tests
run: npm run test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30

build_and_deploy:
runs-on: ubuntu-latest
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
CI: true
jobs:
tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -30,10 +31,16 @@ jobs:
run: npm run type-check
# - name: Check unit tests
# run: npm run test:unit
# - name: Install Playwright Browsers
# run: npx playwright install --with-deps
# - name: Check e2e tests
# run: npm run test:e2e
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Check e2e tests
run: npm run test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30

build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
Expand Down

0 comments on commit 4b08ee9

Please sign in to comment.