Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump: upgrade to node 22 #1807

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'npm'

- run: ./scripts/dev-init.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'npm'

- run: ./scripts/dev-init.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- run: ./scripts/dev-init.sh

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [20]
node-version: [22]

steps:
- name: Generate token
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- run: ./scripts/dev-init.sh
- name: Install Playwright Browsers
run: npx playwright install --with-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

Expand Down
4 changes: 2 additions & 2 deletions containers/generic-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.18.0-alpine AS builder
FROM node:22.11.0-alpine AS builder

ARG PACKAGE
ENV NODE_ENV=development
Expand All @@ -21,7 +21,7 @@ RUN npm run -w packages/${PACKAGE} build
# So with this command we prebuild library packages and make them available for later
RUN find packages -type d -name 'lib-*' -exec sh -c 'npm run -w {} build && mkdir -p libraries/{}/ && cp -r {}/dist libraries/{}/ && cp -r {}/package*.json libraries/{}/' \;

FROM node:20.18.0-alpine AS runner
FROM node:22.11.0-alpine AS runner

# Version 9+ is required to run npm scripts as root
RUN npm install -g npm@9
Expand Down
2 changes: 1 addition & 1 deletion containers/generic-web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.18.0-alpine AS builder
FROM node:22.11.0-alpine AS builder

ARG PACKAGE
ENV NODE_ENV=development
Expand Down
2 changes: 1 addition & 1 deletion containers/takaro/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.18.0-bullseye
FROM node:22.11.0-bullseye

ENV NODE_ENV=development

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"release:patch": "npm version patch --no-git-tag-version --workspaces && git add **/package.json; npm version patch --include-workspace-root --force"
},
"engines": {
"node": "20.18.0",
"node": "22.11.0",
"npm": "10.9.0"
},
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-components/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.18.0-alpine AS build
FROM node:22.11.0-alpine AS build

ENV NODE_ENV=development
WORKDIR /app
Expand Down
Loading