Check iframes #537
This file contains hidden or 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: Check iframes | |
| on: | |
| schedule: | |
| - cron: '0 4,12,16 * * 1-5' | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn install --immutable --immutable-cache --check-cache | |
| - name: Install Playwright | |
| run: yarn playwright install chromium | |
| - name: Check iframes | |
| run: yarn run testIframes | |
| env: | |
| MATTERMOST_IMPACTCO2: ${{ secrets.MATTERMOST_IMPACTCO2}} |