Update all non-major dependencies #985
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: CI | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| CI: | |
| runs-on: ubuntu-latest | |
| env: | |
| DO_NOT_TRACK: 1 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 10.34.5 | |
| - name: Setup node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 24.19.0 | |
| cache: 'pnpm' | |
| - name: Get playwright version | |
| run: echo PLAYWRIGHT_VERSION=$(node -e "console.log(require('./packages/core/package.json').devDependencies.playwright)") >> $GITHUB_ENV | |
| - name: Restore playwright cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-${{ env.PLAYWRIGHT_VERSION }} | |
| restore-keys: | | |
| playwright-${{ runner.os }}- | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Format Check | |
| run: pnpm format:check | |
| - name: Test | |
| run: xvfb-run pnpm run test | |
| - name: Deploy | |
| if: ${{ !startsWith(github.head_ref, 'renovate/') }} | |
| run: pnpm --filter "app" run deploy | |
| env: | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| - name: Build dry build | |
| if: ${{ startsWith(github.head_ref, 'renovate/') }} | |
| run: pnpm --filter "app" run build |