From 101619dc5b5f403135029495b79801f48429ce3a Mon Sep 17 00:00:00 2001 From: Steven Hicks Date: Tue, 26 Nov 2024 11:51:25 -0600 Subject: [PATCH 1/3] chore: update node to v22 --- .github/workflows/build-docs.yaml | 2 +- .github/workflows/check-format.yaml | 2 +- .github/workflows/publish-prod.yaml | 2 +- .github/workflows/publish-stage.yaml | 2 +- .nvmrc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index b9c076dd98..916cce63ec 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 22 - name: Install Dependencies run: npm ci - name: Cache Docusaurus diff --git a/.github/workflows/check-format.yaml b/.github/workflows/check-format.yaml index c371d6bdff..198befa5c7 100644 --- a/.github/workflows/check-format.yaml +++ b/.github/workflows/check-format.yaml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 22 - name: Install Dependencies run: npm ci - name: Verify format with Vale diff --git a/.github/workflows/publish-prod.yaml b/.github/workflows/publish-prod.yaml index e1745740c2..8093a190cd 100644 --- a/.github/workflows/publish-prod.yaml +++ b/.github/workflows/publish-prod.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 22 - name: Install Dependencies run: npm ci - name: Enable Indexing diff --git a/.github/workflows/publish-stage.yaml b/.github/workflows/publish-stage.yaml index 9dbd892286..751d6b4777 100644 --- a/.github/workflows/publish-stage.yaml +++ b/.github/workflows/publish-stage.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 22 - name: Install Dependencies run: npm ci - name: Cache Docusaurus diff --git a/.nvmrc b/.nvmrc index d9289897d3..7af24b7ddb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.15.1 +22.11.0 From 5c8ec7da1ce19a93300f4e3a93a2f699614fbd94 Mon Sep 17 00:00:00 2001 From: Steven Hicks Date: Tue, 26 Nov 2024 13:49:35 -0600 Subject: [PATCH 2/3] chore: update node version for docker build --- Dockerfile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.build b/Dockerfile.build index 33db677d23..4b7c61040f 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -3,7 +3,7 @@ # To run: `npm run build:docker` # Install dependencies -FROM node:16 AS build-setup +FROM node:22 AS build-setup WORKDIR /app COPY package*.json ./ RUN npm install From 9e46083748330a6893e463ddd3e508786fdd16ab Mon Sep 17 00:00:00 2001 From: Steven Hicks Date: Tue, 26 Nov 2024 13:58:56 -0600 Subject: [PATCH 3/3] chore: specify node version in preview builds --- .github/workflows/preview-env-deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/preview-env-deploy.yml b/.github/workflows/preview-env-deploy.yml index 7a898c3e0a..12d9cc4ced 100644 --- a/.github/workflows/preview-env-deploy.yml +++ b/.github/workflows/preview-env-deploy.yml @@ -15,6 +15,9 @@ jobs: name: deploy-preview-env steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v1 + with: + node-version: 22 - name: Import secrets from Vault id: secrets