Turn off image auto-sizing, as it's not meant to be tested here and i… #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Consider moving this to run as part of ci.yml | |
name: Playwright Tests | |
on: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
- "daily-test-sync" | |
jobs: | |
playwright: | |
name: 'Playwright Tests' | |
runs-on: ubuntu-latest | |
container: | |
# Note: the version of the docker container for playwright must exactly match the version used in package.json. | |
image: mcr.microsoft.com/playwright:v1.35.1-jammy | |
steps: | |
- uses: actions/checkout@v3 | |
# Steps for Playwright testing with container | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run your tests | |
run: npx playwright test | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: test-results | |
path: test-results/ | |
retention-days: 30 |