chore: bump Node version to node20 (#13)

* update to nodejs20

* fix type error
This commit is contained in:
luo jiyin 2024-07-29 17:37:34 +08:00 committed by GitHub
parent e641d62304
commit 941099c9ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ branding:
color: "blue"
runs:
using: "node16"
using: "node20"
pre: "dist/pre.js"
main: "dist/index.js"
post: "dist/post.js"
@ -23,7 +23,7 @@ inputs:
overwrite:
description: "Overwrite target container image with slimmed version (only if target is not ID)"
required: false
default: false
default: "false"
version:
description: "Define Slim version"
required: false

View File

@ -55,7 +55,7 @@ async function get_slim() {
KERNEL = os.platform();
MACHINE = os.arch();
// Determine the target distrubution
// Determine the target distribution
if (KERNEL === 'linux') {
EXT = 'tar.gz';
if (MACHINE === 'x64') {