diff --git a/.nvmrc b/.nvmrc index 6e9d5a1e..a58d2d2c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.13.1 \ No newline at end of file +18.18.2 \ No newline at end of file diff --git a/action.yml b/action.yml index c868e869..bc35028a 100644 --- a/action.yml +++ b/action.yml @@ -25,6 +25,6 @@ inputs: description: 'Whether a comment should be created even if comment_tag is not found.' default: 'true' runs: - using: 'node16' + using: 'node18' main: 'lib/index.js' post: 'lib/cleanup/index.js' diff --git a/package-lock.json b/package-lock.json index 30f5a638..c83ece54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,8 +16,8 @@ "@actions/tool-cache": "^2.0.1" }, "devDependencies": { - "@tsconfig/node16": "^16.1.1", - "@types/node": "^18.16.2", + "@tsconfig/node18": "^18.2.2", + "@types/node": "^18.18.2", "@vercel/ncc": "^0.38.1", "prettier": "^3.0.3", "typescript": "^5.2.2" @@ -187,16 +187,16 @@ "@octokit/openapi-types": "^12.11.0" } }, - "node_modules/@tsconfig/node16": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.1.tgz", - "integrity": "sha512-+pio93ejHN4nINX4pXqfnR/fPLRtJBaT4ORaa5RH0Oc1zoYmo2B2koG+M328CQhHKn1Wj6FcOxCDFXAot9NhvA==", + "node_modules/@tsconfig/node18": { + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-18.2.2.tgz", + "integrity": "sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw==", "dev": true }, "node_modules/@types/node": { - "version": "18.16.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.2.tgz", - "integrity": "sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg==", + "version": "18.18.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.6.tgz", + "integrity": "sha512-wf3Vz+jCmOQ2HV1YUJuCWdL64adYxumkrxtc+H1VUQlnQI04+5HtH+qZCOE21lBE7gIrt+CwX2Wv8Acrw5Ak6w==", "dev": true }, "node_modules/@vercel/ncc": { @@ -492,16 +492,16 @@ "@octokit/openapi-types": "^12.11.0" } }, - "@tsconfig/node16": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.1.tgz", - "integrity": "sha512-+pio93ejHN4nINX4pXqfnR/fPLRtJBaT4ORaa5RH0Oc1zoYmo2B2koG+M328CQhHKn1Wj6FcOxCDFXAot9NhvA==", + "@tsconfig/node18": { + "version": "18.2.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-18.2.2.tgz", + "integrity": "sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw==", "dev": true }, "@types/node": { - "version": "18.16.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.2.tgz", - "integrity": "sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg==", + "version": "18.18.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.6.tgz", + "integrity": "sha512-wf3Vz+jCmOQ2HV1YUJuCWdL64adYxumkrxtc+H1VUQlnQI04+5HtH+qZCOE21lBE7gIrt+CwX2Wv8Acrw5Ak6w==", "dev": true }, "@vercel/ncc": { diff --git a/package.json b/package.json index fb81e795..219ea6e3 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "@actions/tool-cache": "^2.0.1" }, "devDependencies": { - "@tsconfig/node16": "^16.1.1", - "@types/node": "^18.16.2", + "@tsconfig/node18": "^18.2.2", + "@types/node": "^18.18.2", "@vercel/ncc": "^0.38.1", "prettier": "^3.0.3", "typescript": "^5.2.2" diff --git a/tsconfig.json b/tsconfig.json index bf8ec56d..9bed11ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { "outDir": "./lib", "rootDir": "./src"