Skip to content

Commit

Permalink
Update TS config to target Node 18 (LTS)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 18, 2023
1 parent 80f9b40 commit d2ca4d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ outputs:

runs:
main: action/register.js
using: node16
using: node18 # Sync with `target` in tsup.config.ts
4 changes: 2 additions & 2 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -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
},
]);

0 comments on commit d2ca4d8

Please sign in to comment.