Monitor production web UI #85221
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: Monitor production web UI | |
on: | |
schedule: | |
- cron: '0,10,20,30,40,50 * * * *' | |
jobs: | |
monitor-ui: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.JS | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- run: npm install | |
- run: npx playwright install | |
- name: Run web tests against deployed code in production | |
uses: nick-fields/retry@v3 | |
env: | |
PLAYWRIGHT_TARGET_URL: 'https://web.edumips.org' | |
with: | |
max_attempts: 2 | |
timeout_minutes: 2 | |
retry_on: error | |
command: npm run test | |