From 1382404a96d5080be2b9ff64d93a206b4dd1229c Mon Sep 17 00:00:00 2001 From: Dhi Aurrahman Date: Sun, 28 Jan 2024 04:54:06 +0700 Subject: [PATCH] UPgrade to node20 Signed-off-by: Dhi Aurrahman --- action.yml | 2 +- package.json | 4 +++- yarn.lock | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index fb88707..24e1c3a 100644 --- a/action.yml +++ b/action.yml @@ -13,6 +13,6 @@ inputs: description: 'The current token used for fetching the repository' default: ${{ github.token }} runs: - using: node16 + using: node20 main: dist/index.js post: dist/index.js diff --git a/package.json b/package.json index 39b2b68..e8f5e28 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ "@actions/core": "^1.10.0", "@actions/exec": "^1.1.1", "@actions/github": "^5.1.1", - "@actions/io": "^1.1.2" + "@actions/io": "^1.1.2", + "http-cache-semantics": "^4.1.1", + "json5": "^2.2.3" }, "devDependencies": { "@types/jest": "^27.0.2", diff --git a/yarn.lock b/yarn.lock index 4940e77..f28a17b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1820,9 +1820,11 @@ __metadata: eslint: ^7.32.0 eslint-plugin-github: ^4.3.2 eslint-plugin-jest: ^25.2.2 + http-cache-semantics: ^4.1.1 jest: ^27.3.0 jest-circus: ^27.3.0 js-yaml: ^3.13.1 + json5: ^2.2.3 prettier: ^1.19.1 ts-jest: ^27.0.7 typescript: ^4.4.4 @@ -3128,6 +3130,13 @@ __metadata: languageName: node linkType: hard +"http-cache-semantics@npm:^4.1.1": + version: 4.1.1 + resolution: "http-cache-semantics@npm:4.1.1" + checksum: 83ac0bc60b17a3a36f9953e7be55e5c8f41acc61b22583060e8dedc9dd5e3607c823a88d0926f9150e571f90946835c7fe150732801010845c72cd8bbff1a236 + languageName: node + linkType: hard + "http-proxy-agent@npm:^4.0.1": version: 4.0.1 resolution: "http-proxy-agent@npm:4.0.1" @@ -4135,6 +4144,15 @@ __metadata: languageName: node linkType: hard +"json5@npm:^2.2.3": + version: 2.2.3 + resolution: "json5@npm:2.2.3" + bin: + json5: lib/cli.js + checksum: 2a7436a93393830bce797d4626275152e37e877b265e94ca69c99e3d20c2b9dab021279146a39cdb700e71b2dd32a4cebd1514cd57cee102b1af906ce5040349 + languageName: node + linkType: hard + "jsx-ast-utils@npm:^3.3.2": version: 3.3.3 resolution: "jsx-ast-utils@npm:3.3.3"