Merge pull request 'fix: upgrade Node to 24 so the Docker build works with sharp 0.35' (#3) from fix-docker-node-24 into main
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
commit
a18189dcea
4 files changed
+8
-11
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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 [email protected] --activate
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@
|
||||
"name": "new_portfolio",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"packageManager": "[email protected]",
|
||||
"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": {
|
||||
|
||||
Reference in new issue
Block a user