From d2ca4d8980b94e8f3f9c41e871267d1801b22456 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 18 Oct 2023 11:10:53 +0200 Subject: [PATCH] Update TS config to target Node 18 (LTS) --- action.yml | 2 +- tsup.config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 1f4e2bc7a..b8607906c 100755 --- a/action.yml +++ b/action.yml @@ -125,4 +125,4 @@ outputs: runs: main: action/register.js - using: node16 + using: node18 # Sync with `target` in tsup.config.ts diff --git a/tsup.config.ts b/tsup.config.ts index a483aeaeb..768c8c166 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -17,7 +17,7 @@ export default defineConfig((options) => [ sourcemap: false, clean: true, platform: 'node', - target: 'node16', + target: 'node18', // Minimum supported (LTS) version }, { entry: ['action-src/register.js'], @@ -29,6 +29,6 @@ export default defineConfig((options) => [ sourcemap: false, clean: true, platform: 'node', - target: 'node16', + target: 'node18', // Sync with `runs.using` in action.yml }, ]);