e2e-canary #48022
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
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | |
name: e2e-canary | |
on: | |
schedule: | |
- cron: "*/30 * * * *" | |
workflow_dispatch: {} | |
jobs: | |
test: | |
name: constructs.dev canary | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cypress Run | |
uses: cypress-io/github-action@v3 | |
env: | |
DEBUG: "@cypress/github-action" | |
with: | |
start: yarn proxy-server:ci | |
wait-on: http://localhost:3000 | |
wait-on-timeout: 150 | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots | |
- if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cypress-videos | |
path: cypress/videos | |
- name: Create failure issue | |
if: failure() | |
uses: imjohnbo/issue-bot@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
labels: failed-release | |
title: E2E Canary for https://constructs.dev failed. | |
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} |