From b56bba7c90c5194c930e672ac9cc3da1d5583810 Mon Sep 17 00:00:00 2001 From: Manuel Date: Sat, 16 Sep 2023 13:20:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5=20Upgrade=20from=20node=2016=20to?= =?UTF-8?q?=20node=2020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node 16 is end of life (see https://nodejs.org/de/blog/announcements/nodejs16-eol) Node 20 is the next lts version and supported by github actions runner (see https://github.com/actions/runner/issues/2619#issuecomment-1679003443, however there is no docs update or blog post available yet) --- README.md | 8 ++++---- action.yml | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0a534fb..d140a1d 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This action can be run on `ubuntu-latest`, `windows-latest`, and `macos-latest` ```yml steps: - - uses: wtfjoke/setup-groovy@v1 + - uses: wtfjoke/setup-groovy@v2 with: groovy-version: '4.x' - run: groovy --version @@ -32,7 +32,7 @@ If there is a specific version of Groovy that you need and you don't want to wor ```yaml steps: - uses: actions/checkout@v3 - - uses: wtfjoke/setup-groovy@v1 + - uses: wtfjoke/setup-groovy@v2 with: groovy-version: '4.0.9' - run: groovy HelloWorld.groovy @@ -43,7 +43,7 @@ You can specify **only a major and minor version** if you are okay with the most ```yaml steps: - uses: actions/checkout@v3 - - uses: wtfjoke/setup-groovy@v1 + - uses: wtfjoke/setup-groovy@v2 with: groovy-version: '4.0' - run: groovy HelloWorld.groovy @@ -54,7 +54,7 @@ You can also use ranges that are specified in [semver](https://github.com/npm/no ```yaml steps: - uses: actions/checkout@v3 - - uses: wtfjoke/setup-groovy@v1 + - uses: wtfjoke/setup-groovy@v2 with: groovy-version: '>=3.x <4.0.0' - run: groovy HelloWorld.groovy diff --git a/action.yml b/action.yml index 2206c45..63cc4c2 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ inputs: description: 'The version of Groovy to install. Exact version or version range of Groovy. Using semver version range syntax. Examples: 4.x, 4.0.x, 4.0.9, 4.0.0-rc-1, etc.' required: true runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' branding: icon: star diff --git a/package.json b/package.json index cbf47fc..04f9c49 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@octokit/types": "11.1.0", "@types/jest": "29.5.4", - "@types/node": "16.18.50", + "@types/node": "20.6.2", "@types/semver": "7.5.1", "@typescript-eslint/parser": "6.6.0", "@vercel/ncc": "0.36.1", diff --git a/yarn.lock b/yarn.lock index 7ec0f6e..d17edf4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -915,10 +915,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.7.tgz#4b8ecac87fbefbc92f431d09c30e176fc0a7c377" integrity sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA== -"@types/node@16.18.50": - version "16.18.50" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.50.tgz#93003cf0251a2ecd26dad6dc757168d648519805" - integrity sha512-OiDU5xRgYTJ203v4cprTs0RwOCd5c5Zjv+K5P8KSqfiCsB1W3LcamTUMcnQarpq5kOYbhHfSOgIEJvdPyb5xyw== +"@types/node@20.6.2": + version "20.6.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.2.tgz#a065925409f59657022e9063275cd0b9bd7e1b12" + integrity sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw== "@types/semver@7.5.1", "@types/semver@^7.3.12", "@types/semver@^7.5.0": version "7.5.1"