Cold Start Warm-up #3
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: Cold Start Warm-up | |
| on: | |
| schedule: | |
| - cron: '0 22 * * *' # 8 AM AEST (UTC+10) | |
| workflow_dispatch: | |
| jobs: | |
| warmup: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| working-directory: .github/scripts | |
| run: npm install | |
| - name: Install Chromium | |
| working-directory: .github/scripts | |
| run: npx playwright install chromium --with-deps | |
| - name: Run warm-up | |
| working-directory: .github/scripts | |
| run: node warmup.js |