diff --git a/.github/actions/start-codepipeline/action.yml b/.github/actions/start-codepipeline/action.yml index af922bf125..11b10a34e8 100644 --- a/.github/actions/start-codepipeline/action.yml +++ b/.github/actions/start-codepipeline/action.yml @@ -22,9 +22,9 @@ runs: steps: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: yarn - + - name: Start CodePipeline run: yarn trigger-codepipeline shell: bash @@ -38,4 +38,4 @@ runs: branding: icon: "cloud" - color: "orange" \ No newline at end of file + color: "orange" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 446c796a45..c3ff4ce278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: yarn - name: Install dependencies diff --git a/.github/workflows/pr-previews.yml b/.github/workflows/pr-previews.yml index a1e4a8f6c7..1c5403db57 100644 --- a/.github/workflows/pr-previews.yml +++ b/.github/workflows/pr-previews.yml @@ -13,9 +13,9 @@ on: jobs: build-and-deploy: if: | - contains(github.event.pull_request.labels.*.name, 'preview-it') || + contains(github.event.pull_request.labels.*.name, 'preview-it') || ( - github.event.action == 'unlabeled' && + github.event.action == 'unlabeled' && !contains(github.event.pull_request.labels.*.name, 'preview-it') ) runs-on: ubuntu-latest @@ -27,7 +27,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: yarn - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index f3fb55a216..1d08c9dcf8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # base ================================ -FROM ghcr.io/tarampampam/node:16-alpine as node +FROM public.ecr.aws/docker/library/node:20-slim as node LABEL org.opencontainers.image.title="CORD UI" LABEL org.opencontainers.image.vendor="Seed Company" diff --git a/package.json b/package.json index 440ce04435..23784f9392 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "trigger-codepipeline": "rm -rf bin/dist && tsc -p bin && node bin/dist/start-codepipeline" }, "engines": { - "node": ">=16" + "node": ">=18" }, "packageManager": "yarn@3.6.3", "dependencies": {