From 8acfad25f4cb6edfe76ad5ea40b8dcc97913f2f1 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 30 Nov 2023 19:11:08 +0100 Subject: [PATCH] feat(node): update nodejs to v20.10.0 LTS --- .github/workflows/_test.yml | 5 ++--- .github/workflows/push.yml | 2 +- Dockerfile | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 1d647a2bc..1d08d4de2 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -8,9 +8,8 @@ jobs: os: - ${{ vars.UBUNTU_VERSION }} node-version: - - 12.x - - 14.x - - 16.x + - 18.x + - 20.x steps: - uses: actions/checkout@v2 - name: 'Install node.js ${{ matrix.node-version }}' diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index a99f5c7a6..ea86f05c7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,7 +12,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2-beta with: - node-version: 16.x + node-version: 20.x - name: Run semantic-release env: GH_TOKEN: ${{ secrets.GH_SEMANTIC_RELEASE_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 9db96d4da..ffeea02ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # base image -FROM pelias/baseimage +FROM pelias/baseimage:node-v20 USER pelias # change working dir