Update Node.js to v22

This commit is contained in:
renovate[bot] 2024-11-02 11:05:46 +00:00
parent d2d87c335d
commit 6bf1c19539
2 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@ variables:
steps: steps:
fetch_git_submodules: fetch_git_submodules:
image: node:20-alpine image: node:22-alpine
commands: commands:
- apk add git - apk add git
- git submodule init - git submodule init
@ -12,7 +12,7 @@ steps:
- event: [pull_request, tag] - event: [pull_request, tag]
install: install:
image: node:20-alpine image: node:22-alpine
commands: commands:
- *install_pnpm - *install_pnpm
- pnpm i - pnpm i
@ -20,7 +20,7 @@ steps:
- event: pull_request - event: pull_request
lint: lint:
image: node:20-alpine image: node:22-alpine
commands: commands:
- *install_pnpm - *install_pnpm
- pnpm lint - pnpm lint
@ -28,7 +28,7 @@ steps:
- event: pull_request - event: pull_request
build_dev: build_dev:
image: node:20-alpine image: node:22-alpine
commands: commands:
- *install_pnpm - *install_pnpm
- pnpm prebuild:dev - pnpm prebuild:dev

View file

@ -1,4 +1,4 @@
FROM node:20-alpine as builder FROM node:22-alpine as builder
RUN apk update && apk add curl python3 build-base gcc wget git --no-cache RUN apk update && apk add curl python3 build-base gcc wget git --no-cache
RUN corepack enable pnpm RUN corepack enable pnpm
@ -30,7 +30,7 @@ RUN echo "export const BUILD_DATE_ISO8601 = '$(date -u +"%Y-%m-%dT%H:%M:%SZ")';"
RUN pnpm i --prefer-offline RUN pnpm i --prefer-offline
RUN pnpm build:dev RUN pnpm build:dev
FROM node:20-alpine as runner FROM node:22-alpine as runner
COPY --from=builder /usr/src/app/dist /app/dist COPY --from=builder /usr/src/app/dist /app/dist
COPY --from=builder /usr/src/app/node_modules /app/node_modules COPY --from=builder /usr/src/app/node_modules /app/node_modules