Build Check #1510
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: Build Check | |
| on: | |
| push: | |
| branches-ignore: | |
| - "dependabot/**" | |
| pull_request: | |
| branches: | |
| - main | |
| - v5.* | |
| schedule: | |
| # build runs every weekday at 4:15AM UTC | |
| - cron: '15 4 * * *' | |
| env: | |
| FORCE_COLOR: 2 | |
| NODE: 24 | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| platform: [ubuntu-latest, windows-latest, macOS-latest] | |
| node-version: [24.x] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ env.node-version }} | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps --only-shell chromium | |
| - name: Run build | |
| run: npm run build |