From a1044b0c3a64d3cf7f54e0cb7be549c83eb2a787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= 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