From 18fa87bf620e7668a176c68fdd927c91c7367371 Mon Sep 17 00:00:00 2001 From: Jintao Zhang Date: Thu, 1 Dec 2022 14:23:58 +0800 Subject: [PATCH] chore: update to use node 16 and ncc 0.33.4 * Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. * Since I will encounter the error ERR_OSSL_EVP_UNSUPPORTED after upgrading to Node 16, I also upgraded the version of ncc. https://github.com/vercel/ncc/pull/868 Signed-off-by: Jintao Zhang --- action.yml | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/action.yml b/action.yml index c9d33a1e..a691db04 100644 --- a/action.yml +++ b/action.yml @@ -35,7 +35,7 @@ inputs: description: "Silence all stderr output" default: "false" runs: - using: "node12" + using: "node16" main: "dist/main/index.js" post: "dist/post/index.js" post-if: success() diff --git a/package-lock.json b/package-lock.json index dfd988e3..a5e4cbe4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.9.1", "@typescript-eslint/parser": "^5.9.1", - "@vercel/ncc": "^0.33.1", + "@vercel/ncc": "^0.33.4", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-jest": "^25.3.4", @@ -1776,9 +1776,9 @@ } }, "node_modules/@vercel/ncc": { - "version": "0.33.1", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.1.tgz", - "integrity": "sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==", + "version": "0.33.4", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.4.tgz", + "integrity": "sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg==", "dev": true, "bin": { "ncc": "dist/ncc/cli.js" @@ -7630,9 +7630,9 @@ } }, "@vercel/ncc": { - "version": "0.33.1", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.1.tgz", - "integrity": "sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==", + "version": "0.33.4", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.4.tgz", + "integrity": "sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg==", "dev": true }, "abab": { diff --git a/package.json b/package.json index ef6ef3ae..2b17f9cf 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.9.1", "@typescript-eslint/parser": "^5.9.1", - "@vercel/ncc": "^0.33.1", + "@vercel/ncc": "^0.33.4", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-jest": "^25.3.4",