diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 9fc956c80..c13282ba0 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -23,7 +23,7 @@ runs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - name: Setup dependencies diff --git a/.github/workflows/ci-outpost.yml b/.github/workflows/ci-outpost.yml index 51d3a9b12..19a60cb6e 100644 --- a/.github/workflows/ci-outpost.yml +++ b/.github/workflows/ci-outpost.yml @@ -124,7 +124,7 @@ jobs: go-version-file: "go.mod" - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - name: Generate API diff --git a/.github/workflows/ci-web.yml b/.github/workflows/ci-web.yml index 6a23127a7..f45b03715 100644 --- a/.github/workflows/ci-web.yml +++ b/.github/workflows/ci-web.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - working-directory: web/ @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - working-directory: web/ @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - working-directory: web/ @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - working-directory: web/ @@ -97,7 +97,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - working-directory: web/ diff --git a/.github/workflows/ci-website.yml b/.github/workflows/ci-website.yml index 0445b4703..8aa0064c4 100644 --- a/.github/workflows/ci-website.yml +++ b/.github/workflows/ci-website.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: website/package-lock.json - working-directory: website/ @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: website/package-lock.json - working-directory: website/ @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: website/package-lock.json - working-directory: website/ diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 7860ccac0..d6ab7f6f4 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -115,7 +115,7 @@ jobs: go-version-file: "go.mod" - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" cache: "npm" cache-dependency-path: web/package-lock.json - name: Build web diff --git a/.github/workflows/web-api-publish.yml b/.github/workflows/web-api-publish.yml index 0f3fd057a..37174f5c1 100644 --- a/.github/workflows/web-api-publish.yml +++ b/.github/workflows/web-api-publish.yml @@ -19,7 +19,7 @@ jobs: token: ${{ steps.generate_token.outputs.token }} - uses: actions/setup-node@v3 with: - node-version: "20.5" + node-version: "20" registry-url: "https://registry.npmjs.org" - name: Generate API Client run: make gen-client-ts diff --git a/Dockerfile b/Dockerfile index a6688fbc7..bbbcee63e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build website -FROM --platform=${BUILDPLATFORM} docker.io/node:20.5 as website-builder +FROM --platform=${BUILDPLATFORM} docker.io/node:20 as website-builder ENV NODE_ENV=production @@ -17,7 +17,7 @@ COPY ./SECURITY.md /work/ RUN npm run build-docs-only # Stage 2: Build webui -FROM --platform=${BUILDPLATFORM} docker.io/node:20.5 as web-builder +FROM --platform=${BUILDPLATFORM} docker.io/node:20 as web-builder ENV NODE_ENV=production diff --git a/proxy.Dockerfile b/proxy.Dockerfile index b98396ac8..f6a226956 100644 --- a/proxy.Dockerfile +++ b/proxy.Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build website -FROM --platform=${BUILDPLATFORM} docker.io/node:20.5 as web-builder +FROM --platform=${BUILDPLATFORM} docker.io/node:20 as web-builder ENV NODE_ENV=production WORKDIR /static