From 982f96078b841b31c521e90649b4bffdf681984c Mon Sep 17 00:00:00 2001 From: Louis Lambeau Date: Fri, 22 Dec 2023 12:07:53 +0100 Subject: [PATCH] Upgrade to node 20 --- .github/workflows/integration.yml | 2 +- .github/workflows/release-packages.yml | 2 +- Dockerfile | 2 +- package.json | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index c1743c3..2013776 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -24,7 +24,7 @@ jobs: - name: Install node uses: actions/setup-node@v2 with: - node-version: '18.x' + node-version: '20.x' - name: Linting id: linting diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index 96efbd9..f88e7c7 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-node@v2 with: - node-version: '18.x' + node-version: '20.x' registry-url: 'https://registry.npmjs.org' always-auth: true diff --git a/Dockerfile b/Dockerfile index bed5f20..80b7bda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as builder +FROM node:20-alpine as builder WORKDIR /arnavon diff --git a/package.json b/package.json index a107aee..036f47f 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "@types/mocha": "^10.0.6" }, "engines": { - "node": ">=8.0.0" + "node": ">=18.0.0" }, "oclif": { "commands": "./dist/cli/commands", @@ -100,9 +100,9 @@ "dist/**/*.js" ], "targets": [ - "node14-linux", - "node14-macos-x64", - "node14-win" + "node18-linux", + "node18-macos-x64", + "node18-win" ] } }