From a54bc64420f9a5bdfafc65f4196c72dafdb91303 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Tue, 31 Oct 2023 02:16:06 +0100 Subject: [PATCH] ci: test on Node.js 20 LTS, too --- .github/workflows/node.js.yml | 2 +- .gitlab-ci.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index dd9e66b..a485cb6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [12.x, 14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dadf1ce..26279d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,3 +37,13 @@ node_18: script: - cd ./export-server - npm install + +node_20: + image: node:20-slim + stage: build + before_script: + - node --version + - npm --version + script: + - cd ./export-server + - npm install