Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
willtheorangeguy authored Nov 16, 2023
1 parent 57ed5df commit 5355e60
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,20 @@ on:
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
playwright:
name: 'Playwright Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.39.0-jammy
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install npm dependencies
run: npm install --save-dev playwright --force
- name: Install Playwright Browsers
run: npx playwright install
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci --force
- name: Install npm dependencies
run: npm install --save-dev playwright --force
- name: Run your tests
run: npx playwright test

0 comments on commit 5355e60

Please sign in to comment.