Clean up node version unit testing

This commit is contained in:
adilallo
2026-01-28 14:31:08 -07:00
parent 27700cacb0
commit e6324a1eb7
3 changed files with 16 additions and 7 deletions
+5 -5
View File
@@ -10,8 +10,6 @@ on:
jobs: jobs:
test: test:
runs-on: [self-hosted, macos-latest] runs-on: [self-hosted, macos-latest]
strategy:
matrix: { node-version: [18, 20] }
env: env:
NODE_OPTIONS: "--max_old_space_size=8192 --max_semi_space_size=128" NODE_OPTIONS: "--max_old_space_size=8192 --max_semi_space_size=128"
CI: true CI: true
@@ -28,9 +26,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: if: ${{ github.server_url == 'https://github.com' }}
node-version: ${{ matrix.node-version }} with: { node-version: 20, cache: npm }
cache: npm - uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' || !github.server_url }}
with: { node-version: 20 }
- run: npm ci - run: npm ci
- name: Show system info - name: Show system info
run: | run: |
+8 -2
View File
@@ -2,6 +2,11 @@
A Next.js application for community decision-making and governance documentation. 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 ## 🚀 Getting Started
Run the development server: Run the development server:
@@ -194,10 +199,11 @@ community-rule/
## 🔧 Technology Stack ## 🔧 Technology Stack
- **Framework**: Next.js 15 + React 19 - **Framework**: Next.js 16 + React 19
- **Runtime**: Node.js 20+ (LTS)
- **Styling**: Tailwind CSS 4 - **Styling**: Tailwind CSS 4
- **Testing**: Vitest + Playwright + Lighthouse CI - **Testing**: Vitest + Playwright + Lighthouse CI
- **Documentation**: Storybook 9 - **Documentation**: Storybook 10
- **CI/CD**: Gitea Actions - **CI/CD**: Gitea Actions
- **Hosting**: Gitea (Git hosting) - **Hosting**: Gitea (Git hosting)
+3
View File
@@ -2,6 +2,9 @@
"name": "community-rule", "name": "community-rule",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"engines": {
"node": ">=20.0.0"
},
"scripts": { "scripts": {
"dev": "next dev --turbopack", "dev": "next dev --turbopack",
"build": "next build", "build": "next build",