diff --git a/action.yml b/action.yml index 3fa930a..ec0afb7 100644 --- a/action.yml +++ b/action.yml @@ -33,7 +33,7 @@ outputs: rust-hash: description: 'Commit hash of the installed rustc.' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' post: 'dist/post/index.js' branding: diff --git a/package.json b/package.json index 352861a..f496521 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "detect-libc": "^2.0.2" }, "devDependencies": { - "@types/node": "^18.15.11", + "@types/node": "^20.8.9", "@vercel/ncc": "^0.36.1", "eslint": "^8.46.0", "eslint-config-moon": "^2.0.6", @@ -36,6 +36,6 @@ "typescript": "^5.1.6" }, "engines": { - "node": ">=16.0.0" + "node": ">=20.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66bfd2d..12e4846 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: '@actions/cache': specifier: ^3.2.1 @@ -28,8 +32,8 @@ dependencies: devDependencies: '@types/node': - specifier: ^18.15.11 - version: 18.15.11 + specifier: ^20.8.9 + version: 20.8.9 '@vercel/ncc': specifier: ^0.36.1 version: 0.36.1 @@ -382,6 +386,13 @@ packages: /@types/node@18.15.11: resolution: {integrity: sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==} + dev: false + + /@types/node@20.8.9: + resolution: {integrity: sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==} + dependencies: + undici-types: 5.26.5 + dev: true /@types/normalize-package-data@2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} @@ -2861,6 +2872,10 @@ packages: which-boxed-primitive: 1.0.2 dev: true + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + dev: true + /update-browserslist-db@1.0.11(browserslist@4.21.10): resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} hasBin: true diff --git a/tsconfig.json b/tsconfig.json index 2208b5d..f44184a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "extends": "tsconfig-moon/tsconfig.json", "compilerOptions": { "allowJs": true, - "module": "Node16", + "module": "NodeNext", "moduleResolution": "NodeNext", "noEmit": true, "verbatimModuleSyntax": false