Skip to content

build: Next.js 16 with reactCompiler and cacheComponents #646

build: Next.js 16 with reactCompiler and cacheComponents

build: Next.js 16 with reactCompiler and cacheComponents #646

name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
code_style:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Prettier Check
run: pnpm run prettier:check
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm run lint
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
env:
# dummy values to pass build
FUSIONAUTH_CLIENT_ID: '123a575b-8803-457f-ab74-4ed8880cac20'