remove dupe #56
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: # Trigger on deployment status changes | |
# | |
#jobs: | |
# run-e2es: # Job name for end-to-end tests | |
# if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' # Run only if deployment is successful | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-node@v3 | |
# - name: Install dependencies | |
# run: npm ci && npx playwright install --with-deps # Install dependencies and Playwright browsers | |
# - name: Set BASE_URL | |
# run: echo "BASE_URL=${{ github.event.deployment_status.environment_url }}" >> $GITHUB_ENV # Set BASE_URL from deployment status | |
# - name: Set Bypass Token | |
# run: echo "BYPASS_TOKEN=${{ secrets.BYPASS_TOKEN }}" >> $GITHUB_ENV # Set Bypass Token from GitHub Secrets | |
# - name: Run tests | |
# run: npx playwright test # Execute Playwright tests |