Skip to content

Fixing homepage broken image #2

Fixing homepage broken image

Fixing homepage broken image #2

name: Daily broken images check
on:
pull_request:
branches:
- main
schedule:
# Every Weekday at 8 AM AEDT - https://cron.help/#0_21_*_*_SUN-THU
- cron: "0 21 * * SUN-THU"
workflow_dispatch:
env:
DEPLOY_URL: "https://ssw.com.au"
TESTS_TO_RUN: "images"
REPORTER: "--reporter='./ui-tests/reporter.ts'"
defaults:
run:
shell: pwsh
jobs:
check-broken-images:
runs-on: ubuntu-latest
steps:
- name: Run Playwright Tests
uses: ./.github/workflows/template-ui-tests.yml
with:
deploy_url: ${{ inputs.DEPLOY_URL }}
tests_to_run: ${{ env.TESTS_TO_RUN }}
reporter: ${{ env.REPORTER }}