From 9c5bf15016fd9f58bdeb85b12154bc0ddcc494c8 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Tue, 3 Oct 2023 14:46:49 -0700 Subject: [PATCH] bump golang and node runtime versions to be insync with local dev environment. --- .github/workflows/ci.yaml | 2 +- .github/workflows/cloud-deploy.yaml | 4 ++-- Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dc8c8f96..09d391e9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,7 @@ jobs: - name: test uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - name: Test Frontend run: | make test-frontend-coverage diff --git a/.github/workflows/cloud-deploy.yaml b/.github/workflows/cloud-deploy.yaml index 66aadece..824ab422 100644 --- a/.github/workflows/cloud-deploy.yaml +++ b/.github/workflows/cloud-deploy.yaml @@ -18,10 +18,10 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - uses: actions/setup-go@v3 with: - go-version: '1.18.3' + go-version: '1.21.1' - run: go version - run: | make dep-frontend diff --git a/Dockerfile b/Dockerfile index 016eb2ad..a87eac7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ # # instead, we use https://depot.dev/ to do our multi-arch builds on native ARM and AMD nodes. -FROM node:18 as frontend-build +FROM node:20 as frontend-build ARG FASTEN_ENV=sandbox WORKDIR /usr/src/fastenhealth/frontend COPY frontend/package.json frontend/yarn.lock ./ @@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/tmp/lock,sharing=locked \ ######################################################################################################### # Backend Build ######################################################################################################### -FROM golang:1.18 as backend-build +FROM golang:1.21 as backend-build WORKDIR /go/src/github.com/fastenhealth/fasten-onprem COPY . .