Skip to content

Commit 1a6b8be

Browse files
authored
chore: update node to v22 (#4667)
* chore: update node to v22 * chore: update node version for docker build * chore: specify node version in preview builds
1 parent 90f55d2 commit 1a6b8be

7 files changed

+9
-6
lines changed

.github/workflows/build-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v1
1111
with:
12-
node-version: 16
12+
node-version: 22
1313
- name: Install Dependencies
1414
run: npm ci
1515
- name: Cache Docusaurus

.github/workflows/check-format.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v2
99
- uses: actions/setup-node@v1
1010
with:
11-
node-version: 16
11+
node-version: 22
1212
- name: Install Dependencies
1313
run: npm ci
1414
- name: Verify format with Vale

.github/workflows/preview-env-deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
name: deploy-preview-env
1616
steps:
1717
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v1
19+
with:
20+
node-version: 22
1821

1922
- name: Import secrets from Vault
2023
id: secrets

.github/workflows/publish-prod.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v2
2525
- uses: actions/setup-node@v1
2626
with:
27-
node-version: 16
27+
node-version: 22
2828
- name: Install Dependencies
2929
run: npm ci
3030
- name: Enable Indexing

.github/workflows/publish-stage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-node@v1
1919
with:
20-
node-version: 16
20+
node-version: 22
2121
- name: Install Dependencies
2222
run: npm ci
2323
- name: Cache Docusaurus

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.15.1
1+
22.11.0

Dockerfile.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To run: `npm run build:docker`
44

55
# Install dependencies
6-
FROM node:16 AS build-setup
6+
FROM node:22 AS build-setup
77
WORKDIR /app
88
COPY package*.json ./
99
RUN npm install

0 commit comments

Comments
 (0)