This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
Playwright Tests #2057
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-marcel-cookbook", "Production – theme-nextjs-marcel-photography", "Production – theme-nextjs-marcel-preview", "Production – theme-nextjs-marcel-the-good-newsroom"]'), github.event.deployment.environment) | |
uses: prezly/theme-kit-js/.github/workflows/playwright.shared.yml@main | |
with: | |
site-name: 'Preview Env' |