Skip to content

chore(deps): bump next from 16.1.7 to 16.2.3 in the npm_and_yarn group across 1 directory #237

chore(deps): bump next from 16.1.7 to 16.2.3 in the npm_and_yarn group across 1 directory

chore(deps): bump next from 16.1.7 to 16.2.3 in the npm_and_yarn group across 1 directory #237

Workflow file for this run

name: CI
"on":
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
NEXT_TELEMETRY_DISABLED: "1"
jobs:
lint:
name: Lint (Biome + ESLint)
runs-on: ${{ fromJSON(vars.ACTIONS_RUNNER_LABELS || '["ubuntu-latest"]') }}
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
fetch-depth: 1
- name: Setup
uses: ./.github/actions/ci-setup
- name: Lint
run: bun run lint
typecheck:
name: Typecheck
runs-on: ${{ fromJSON(vars.ACTIONS_RUNNER_LABELS || '["ubuntu-latest"]') }}
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
fetch-depth: 1
- name: Setup
uses: ./.github/actions/ci-setup
- name: Typecheck
run: bun run typecheck
test:
name: Test (Vitest, Shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
runs-on: ${{ fromJSON(vars.ACTIONS_RUNNER_LABELS || '["ubuntu-latest"]') }}
strategy:
fail-fast: false
matrix:
shardIndex: [1, 2, 3, 4]
shardTotal: [4]
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
fetch-depth: 1
- name: Setup
uses: ./.github/actions/ci-setup
- name: Test
env:
VITEST_SHARD_INDEX: ${{ matrix.shardIndex }}
VITEST_SHARD_COUNT: ${{ matrix.shardTotal }}
run: bun run test:ci:shard
- name: Upload blob report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v6.0.0
with:
name: blob-report-${{ matrix.shardIndex }}
path: .vitest-reports/blob/${{ matrix.shardIndex }}.json
include-hidden-files: true
retention-days: 7
test-merge:
name: Test (Vitest, Merge Reports)
runs-on: ${{ fromJSON(vars.ACTIONS_RUNNER_LABELS || '["ubuntu-latest"]') }}
needs: ["test"]
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
fetch-depth: 1
- name: Setup
uses: ./.github/actions/ci-setup
- name: Download blob reports
uses: actions/download-artifact@v7.0.0
with:
pattern: blob-report-*
path: .vitest-reports/blob
merge-multiple: true
- name: Merge reports
run: bun run test:ci:merge
- name: Upload JUnit report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v6.0.0
with:
name: vitest-junit
path: .vitest-reports/junit.xml
retention-days: 14
build:
name: Build (Next.js)
runs-on: ${{ fromJSON(vars.ACTIONS_RUNNER_LABELS || '["ubuntu-latest"]') }}
needs: ["lint", "typecheck", "test-merge"]
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
fetch-depth: 1
- name: Setup
uses: ./.github/actions/ci-setup
- name: Cache Next.js build cache
uses: actions/cache@v5.0.3
with:
path: |
${{ github.workspace }}/.next/cache
key: nextcache-${{ runner.os }}-${{ hashFiles('bun.lock', 'package.json', 'tsconfig.json', 'postcss.config.mjs', 'next.config.ts', 'src/**/*.ts', 'src/**/*.tsx', 'src/**/*.js', 'src/**/*.jsx') }}
restore-keys: |
nextcache-${{ runner.os }}-${{ hashFiles('bun.lock', 'package.json', 'tsconfig.json', 'postcss.config.mjs', 'next.config.ts') }}-
nextcache-${{ runner.os }}-
- name: Build
run: bun run build