mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +02:00
🧑💻 Update to node 20 and add .nvmrc file (#1169)
This commit is contained in:
parent
1bda96cf55
commit
3758daf301
4 changed files with 6 additions and 5 deletions
2
.github/actions/setup-node/action.yml
vendored
2
.github/actions/setup-node/action.yml
vendored
|
@ -4,7 +4,7 @@ inputs:
|
|||
node-version:
|
||||
description: "Node.js version"
|
||||
required: true
|
||||
default: "18"
|
||||
default: "20"
|
||||
cache:
|
||||
description: "Package manager for caching"
|
||||
required: false
|
||||
|
|
1
.nvmrc
Normal file
1
.nvmrc
Normal file
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -1,11 +1,11 @@
|
|||
FROM node:18 AS builder
|
||||
FROM node:20 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
RUN yarn global add turbo
|
||||
COPY . .
|
||||
RUN turbo prune --scope=@rallly/web --docker
|
||||
|
||||
FROM node:18 AS installer
|
||||
FROM node:20 AS installer
|
||||
|
||||
WORKDIR /app
|
||||
COPY .gitignore .gitignore
|
||||
|
@ -26,7 +26,7 @@ ENV NEXT_PUBLIC_SELF_HOSTED=$SELF_HOSTED
|
|||
|
||||
RUN yarn build
|
||||
|
||||
FROM node:18 AS runner
|
||||
FROM node:20 AS runner
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
"vitest": "^1.3.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17.0"
|
||||
"node": "20.x"
|
||||
},
|
||||
"packageManager": "yarn@1.22.19"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue