chore(deps): update weekly dependencies #2526
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: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| paths-ignore: | |
| - "**/*.md" | |
| - ".github/ISSUE_TEMPLATE/**" | |
| - ".github/PULL_REQUEST_TEMPLATE/**" | |
| - ".github/CODEOWNERS" | |
| - "LICENSE" | |
| - "libs/shared/util/seed/src/lib/static-data/media/**" | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| - renovate/** | |
| workflow_dispatch: | |
| permissions: | |
| actions: read | |
| contents: read | |
| # Environment details: | |
| # - renovate branches should never use Nx Cloud | |
| env: | |
| CDWR_DEBUG_LOGGING: true | |
| NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
| NX_NO_CLOUD: ${{ startsWith(github.head_ref || github.ref_name, 'renovate') || | |
| github.event_name == 'push' || github.event_name == 'workflow_dispatch' || | |
| vars.NX_NO_CLOUD }} | |
| NX_PARALLEL: ${{ vars.NX_PARALLEL }} | |
| NX_VERBOSE_LOGGING: ${{ vars.NX_VERBOSE_LOGGING }} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install pnpm package manager | |
| uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Analyze affected projects | |
| uses: nrwl/nx-set-shas@v4 | |
| - name: Cache Next.js build | |
| uses: actions/cache@v4 | |
| with: | |
| path: apps/cms/.next/cache | |
| key: ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('apps/cms/src/**/*.{ts,tsx}', 'apps/cms/*.{ts,js,mjs}') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}- | |
| ${{ runner.os }}-nextjs- | |
| - name: Format check (Nx Cloud) | |
| if: env.NX_NO_CLOUD != 'true' | |
| run: pnpm nx-cloud record -- nx format:check | |
| - name: Format check | |
| if: env.NX_NO_CLOUD == 'true' | |
| run: pnpm nx format:check | |
| - name: Install Playwright Chromium (for Storybook tests) | |
| run: pnpm exec playwright install chromium --with-deps | |
| - run: pnpm nx affected -t lint,test,build -c ci | |
| - name: Nx Self-healing CI | |
| run: pnpm nx fix-ci | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |