Skip to content

Commit

Permalink
feat: bump to node20 (current LTS)
Browse files Browse the repository at this point in the history
  • Loading branch information
iwalmsley committed Jun 21, 2024
1 parent 1a4fda4 commit b6e89a6
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ env.CONTAINER }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/pr_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ env.CONTAINER }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/pr_authorisation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ env.CONTAINER }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/pr_chassis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ env.CONTAINER }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/pr_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ env.CONTAINER }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/pr_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ env.CONTAINER }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/pr_infrastructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ env.CONTAINER }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/pr_vulnerabilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: "18"
node-version: "20"
- name: Check vulnerabilities
run: ./build/check-dependencies.sh
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: "16"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ matrix.container }}
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: "18"
node-version: "20"
- name: Validate build
run: ./build/validate-build.sh ${{ matrix.container }}
shell: bash
Expand Down
6 changes: 2 additions & 4 deletions code/api.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build library dependencies
FROM node:16.13.0-alpine as common
FROM node:20.14-alpine as common

ARG LIBRARY

Expand All @@ -15,12 +15,10 @@ COPY ./docker/buildLibraries .
RUN ./buildLibraries

# Build the service container
FROM node:lts-alpine
FROM node:20.14-alpine

ARG WORKSPACE

LABEL maintainer "[email protected]"

RUN mkdir -p /usr/src/app/resources && mkdir -p /usr/src/common

WORKDIR /usr/src/common
Expand Down

0 comments on commit b6e89a6

Please sign in to comment.