This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
Playwright Tests #2204
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
name: Playwright Tests | |
on: | |
deployment_status: | |
jobs: | |
test: | |
# We deploy multiple sites from main branch, which makes the setup quite tricky. | |
# So we're only testing on Preview Env deployments in Pull Requests, which should be enough. | |
if: >- | |
!contains(fromJSON('["Production – theme-nextjs-greta-cookbook", "Production – theme-nextjs-greta-photography", "Production – theme-nextjs-greta-preview", "Production – theme-nextjs-greta-the-good-newsroom"]'), github.event.deployment.environment) | |
uses: prezly/theme-kit-js/.github/workflows/playwright.shared.yml@main | |
with: | |
site-name: 'Preview Env' |