Check iframes #920
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
| permissions: | |
| contents: read | |
| pull-requests: read | |
| 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@v6 | |
| - name: Enable Corepack | |
| shell: bash | |
| run: corepack enable | |
| - name: Pin pnpm 11 | |
| shell: bash | |
| run: corepack prepare pnpm@11 --activate | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Install Playwright | |
| run: pnpm playwright install chromium | |
| - name: Check iframes | |
| run: pnpm run testIframes | |
| env: | |
| MATTERMOST_IMPACTCO2: ${{ secrets.MATTERMOST_IMPACTCO2}} |