Skip to content

Commit

Permalink
Node 16 (alpine) -> 20 (slim) (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF authored Oct 24, 2023
1 parent 71e27f6 commit 1028c93
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/actions/start-codepipeline/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -38,4 +38,4 @@ runs:

branding:
icon: "cloud"
color: "orange"
color: "orange"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-previews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,7 +27,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: yarn

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"trigger-codepipeline": "rm -rf bin/dist && tsc -p bin && node bin/dist/start-codepipeline"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"packageManager": "[email protected]",
"dependencies": {
Expand Down

0 comments on commit 1028c93

Please sign in to comment.