Skip to content

Commit

Permalink
chore: Upgrade checkout to node v20 (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson authored Oct 10, 2024
1 parent 94bc9a3 commit 73f9d38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Nodejs
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Run CI script
run: |
Expand Down
4 changes: 3 additions & 1 deletion src/checkout/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:2023
# weak dependencies in DNF terminology, thus keeping our installed set of
# packages as minimal as possible.
RUN dnf --setopt=install_weak_deps=False install -q -y \
nodejs \
nodejs20 \
npm \
shadow-utils \
&& \
dnf clean all

RUN alternatives --install /usr/bin/node node /usr/bin/node-20 90

ENV APPUSER=appuser
ENV APPUID=1000
ENV APPGID=1000
Expand Down

0 comments on commit 73f9d38

Please sign in to comment.