From fbb2257e2815a0d08027d0d69e64aeaef8ebd4b9 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Thu, 19 Oct 2023 02:05:23 +0100 Subject: [PATCH] chore: prefer node v20.8.1 over v18 --- .drone.yml | 4 ++-- .npmrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 483cb38..0c5c0ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: default steps: - name: test & build - image: node:18.16.1-bookworm + image: node:20.8.1-bookworm commands: # - git config --global --add safe.directory "/drone/src" - corepack enable @@ -17,7 +17,7 @@ steps: npm_config_registry: https://registry.npmmirror.com - name: publish - image: node:18.16.1-bookworm + image: node:20.8.1-bookworm environment: DRONE_GITEA_SERVER: https://git.unlock-music.dev GITEA_API_KEY: diff --git a/.npmrc b/.npmrc index c818303..18d881d 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,3 @@ -use-node-version=18.16.0 -node-version=18.16.0 +use-node-version=20.8.1 +node-version=20.8.1 engine-strict=true