diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 2786a46..7427d22 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -10,8 +10,6 @@ on: jobs: test: runs-on: [self-hosted, macos-latest] - strategy: - matrix: { node-version: [18, 20] } env: NODE_OPTIONS: "--max_old_space_size=8192 --max_semi_space_size=128" CI: true @@ -28,9 +26,11 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: npm + if: ${{ github.server_url == 'https://github.com' }} + with: { node-version: 20, cache: npm } + - uses: actions/setup-node@v4 + if: ${{ github.server_url != 'https://github.com' || !github.server_url }} + with: { node-version: 20 } - run: npm ci - name: Show system info run: | diff --git a/README.md b/README.md index 284ef18..9f23e61 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,11 @@ A Next.js application for community decision-making and governance documentation. +## 📋 Requirements + +- **Node.js**: 20.0.0 or higher (LTS recommended) +- **npm**: 10.0.0 or higher + ## 🚀 Getting Started Run the development server: @@ -194,10 +199,11 @@ community-rule/ ## 🔧 Technology Stack -- **Framework**: Next.js 15 + React 19 +- **Framework**: Next.js 16 + React 19 +- **Runtime**: Node.js 20+ (LTS) - **Styling**: Tailwind CSS 4 - **Testing**: Vitest + Playwright + Lighthouse CI -- **Documentation**: Storybook 9 +- **Documentation**: Storybook 10 - **CI/CD**: Gitea Actions - **Hosting**: Gitea (Git hosting) diff --git a/package.json b/package.json index 1d2c323..79434ce 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "community-rule", "version": "0.1.0", "private": true, + "engines": { + "node": ">=20.0.0" + }, "scripts": { "dev": "next dev --turbopack", "build": "next build",