diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af953da..7408d9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,7 +136,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' cache-dependency-path: frontend/package-lock.json @@ -215,7 +215,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' cache-dependency-path: frontend/package-lock.json diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index 5ca3961..d6132c6 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' cache-dependency-path: frontend/package-lock.json @@ -56,7 +56,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' cache-dependency-path: frontend/package-lock.json @@ -82,7 +82,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' cache-dependency-path: frontend/package-lock.json diff --git a/frontend/.node-version b/frontend/.node-version index 3c03207..209e3ef 100644 --- a/frontend/.node-version +++ b/frontend/.node-version @@ -1 +1 @@ -18 +20 diff --git a/frontend/CLOUDFLARE_PAGES.md b/frontend/CLOUDFLARE_PAGES.md index 946c392..6607838 100644 --- a/frontend/CLOUDFLARE_PAGES.md +++ b/frontend/CLOUDFLARE_PAGES.md @@ -8,7 +8,7 @@ - **Build command**: `npm run build` - **Build output directory**: `.next` - **Root directory**: `frontend` -- **Node.js version**: 18 (specified in `.node-version`) +- **Node.js version**: 20 (specified in `.node-version`) ### Environment Variables diff --git a/frontend/package.json b/frontend/package.json index 992e79b..d7d7b78 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,7 +7,7 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint", + "lint": "eslint \"**/*.{js,jsx,ts,tsx}\"", "type-check": "tsc --noEmit", "test": "jest", "test:watch": "jest --watch", @@ -41,7 +41,7 @@ "typescript": "^5.3.3" }, "engines": { - "node": ">=18.0.0", + "node": ">=20.9.0", "npm": ">=9.0.0" }, "keywords": [