diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index bf9a105..7d25f40 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -26,12 +26,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '24' - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 10 + run: corepack enable - name: Get pnpm store directory shell: bash @@ -60,7 +58,7 @@ jobs: run: pnpm outdated || true - name: Upload security report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: security-report diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index c070f1b..2a0a128 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -24,12 +24,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '24' - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 10 + run: corepack enable - name: Get pnpm store directory shell: bash diff --git a/Dockerfile b/Dockerfile index 81f36a4..ae81e2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine AS base +FROM node:24-alpine AS base RUN apk add --no-cache libc6-compat RUN corepack enable && corepack prepare pnpm@10.30.1 --activate diff --git a/package.json b/package.json index 0fcd18c..72fee49 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "new_portfolio", "version": "0.1.0", "private": true, + "packageManager": "pnpm@10.30.1", "scripts": { "dev": "next dev -p 4000", "build": "next build", @@ -40,7 +41,7 @@ "sass": "^1.105.2" }, "engines": { - "node": ">=18.0.0", + "node": ">=20.9.0", "pnpm": ">=8.0.0" }, "pnpm": {