Skip to content

Commit

Permalink
chore: bump node to 20.17.x (#33552)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Oct 14, 2024
1 parent ff19fa5 commit ec8b8e5
Show file tree
Hide file tree
Showing 27 changed files with 15,533 additions and 16,910 deletions.
6 changes: 5 additions & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ inputs:
NPM_TOKEN:
required: false
description: 'NPM token'
HARDENED_MODE:
required: false
description: 'Hardened mode'
default: '0'

outputs:
node-version:
Expand Down Expand Up @@ -68,4 +72,4 @@ runs:
- name: yarn install
if: inputs.install
shell: bash
run: yarn
run: YARN_ENABLE_HARDENED_MODE=${{ inputs.HARDENED_MODE }} yarn
2 changes: 1 addition & 1 deletion .github/workflows/ci-deploy-gh-pages-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: ./.github/actions/setup-node
if: github.event.action != 'closed'
with:
node-version: 20.15.1
node-version: 20.17.0
deno-version: 1.37.1
cache-modules: true
install: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup NodeJS
uses: ./.github/actions/setup-node
with:
node-version: 20.15.1
node-version: 20.17.0
deno-version: 1.37.1
cache-modules: true
install: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ jobs:
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HARDENED_MODE: '1'

- name: Cache vite
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup NodeJS
uses: ./.github/actions/setup-node
with:
node-version: 20.15.1
node-version: 20.17.0
deno-version: 1.37.1
cache-modules: true
install: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-update-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup NodeJS
uses: ./.github/actions/setup-node
with:
node-version: 20.15.1
node-version: 20.17.0
deno-version: 1.37.1
cache-modules: true
install: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup NodeJS
uses: ./.github/actions/setup-node
with:
node-version: 20.15.1
node-version: 20.17.0
deno-version: 1.37.1
cache-modules: true
install: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-version-durability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: '20.15.1'
node-version: '20.17.0'

- name: Install dependencies
run: |
Expand Down
546 changes: 0 additions & 546 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.5.0.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.5.0.cjs

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
checksumBehavior: update

compressionLevel: mixed

enableGlobalCache: false

enableImmutableInstalls: false

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
spec: "https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"

yarnPath: .yarn/releases/yarn-3.5.0.cjs
yarnPath: .yarn/releases/yarn-4.5.0.cjs
2 changes: 1 addition & 1 deletion apps/meteor/.docker-mongo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-bullseye-slim
FROM node:20.17.0-bullseye-slim

LABEL maintainer="[email protected]"

Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/.docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG DENO_VERSION="1.37.1"

FROM denoland/deno:bin-${DENO_VERSION} as deno

FROM node:20.15.1-bullseye-slim
FROM node:20.17.0-bullseye-slim

LABEL maintainer="[email protected]"

Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/.docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

LABEL maintainer="[email protected]"

Expand Down
4 changes: 2 additions & 2 deletions apps/meteor/ee/server/services/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1 as build
FROM node:20.17.0 as build

WORKDIR /app

Expand Down Expand Up @@ -28,7 +28,7 @@ COPY ./tsconfig.base.json .
RUN yarn workspace @rocket.chat/core-typings run build \
&& yarn workspace @rocket.chat/rest-typings run build

FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
2 changes: 1 addition & 1 deletion ee/apps/account-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
2 changes: 1 addition & 1 deletion ee/apps/authorization-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
2 changes: 1 addition & 1 deletion ee/apps/ddp-streamer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
2 changes: 1 addition & 1 deletion ee/apps/omnichannel-transcript/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
2 changes: 1 addition & 1 deletion ee/apps/presence-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
2 changes: 1 addition & 1 deletion ee/apps/queue-worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
2 changes: 1 addition & 1 deletion ee/apps/stream-hub-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15.1-alpine3.20
FROM node:20.17.0-alpine3.20

ARG SERVICE

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
},
"homepage": "https://github.com/RocketChat/Rocket.Chat#readme",
"engines": {
"yarn": "3.5.0",
"node": "20.15.1",
"yarn": "4.5.0",
"node": "20.17.0",
"npm": "Use yarn instead"
},
"packageManager": "yarn@3.5.0",
"packageManager": "yarn@4.5.0",
"houston": {
"minTag": "0.55.0-rc.0",
"updateFiles": [
Expand All @@ -54,7 +54,7 @@
]
},
"volta": {
"node": "20.15.1",
"node": "20.17.0",
"yarn": "1.22.18"
},
"resolutions": {
Expand Down
Loading

0 comments on commit ec8b8e5

Please sign in to comment.