From 81d085e1823b16738ae234c08d482d1765c2704a Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Mon, 12 Aug 2024 18:01:12 +0200 Subject: [PATCH] chore(deps): bump Node from 22.5.1 to 22.6.0 (#2424) Signed-off-by: Hidde Beydals --- .github/workflows/ci.yaml | 8 +++----- .github/workflows/release.yaml | 6 +++--- Dockerfile | 4 ++-- netlify.toml | 2 +- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index afbfa0e55..8c8f373ac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,8 +38,6 @@ jobs: lint-ui: runs-on: ubuntu-latest - container: - image: node:20.12.2 steps: - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -56,7 +54,7 @@ jobs: - name: Install nodejs uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: - node-version: "22.5.1" + node-version: "22.6.0" cache: "pnpm" cache-dependency-path: "**/pnpm-lock.yaml" - name: Run linter @@ -132,9 +130,9 @@ jobs: with: package_json_file: ui/package.json - name: Install nodejs - uses: actions/setup-node@v4 + uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: - node-version: "22.5.1" + node-version: "22.6.0" cache: "pnpm" cache-dependency-path: "**/pnpm-lock.yaml" - name: Install nodejs dependencies diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9d7470362..632863955 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -190,9 +190,9 @@ jobs: with: package_json_file: ui/package.json - name: Install nodejs - uses: actions/setup-node@v4 + uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: - node-version: "22.5.1" + node-version: "22.6.0" cache: "pnpm" cache-dependency-path: "**/pnpm-lock.yaml" - name: Build UI @@ -253,7 +253,7 @@ jobs: - name: Install nodejs uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: - node-version: "22.5.1" + node-version: "22.6.0" cache: "pnpm" cache-dependency-path: "**/pnpm-lock.yaml" - name: Build UI diff --git a/Dockerfile b/Dockerfile index e45a854b2..4d4fda8e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ #################################################################################################### # ui-builder #################################################################################################### -FROM --platform=$BUILDPLATFORM docker.io/library/node:22.5.1 AS ui-builder +FROM --platform=$BUILDPLATFORM docker.io/library/node:22.6.0 AS ui-builder ARG PNPM_VERSION=9.0.3 RUN npm install --global pnpm@${PNPM_VERSION} @@ -106,7 +106,7 @@ CMD ["/usr/local/bin/kargo"] # - supports development # - not used for official image builds #################################################################################################### -FROM --platform=$BUILDPLATFORM docker.io/library/node:22.5.1 AS ui-dev +FROM --platform=$BUILDPLATFORM docker.io/library/node:22.6.0 AS ui-dev ARG PNPM_VERSION=9.0.3 RUN npm install --global pnpm@${PNPM_VERSION} diff --git a/netlify.toml b/netlify.toml index 10ccc1469..cb215c86c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,7 +4,7 @@ publish = "build/" [build.environment] - NODE_VERSION = "20.8.1" + NODE_VERSION = "22.6.0" [context.deploy-preview] ignore = "git diff --quiet main -- docs"