Skip to content

Commit

Permalink
Merge pull request #307 from thollander/feat/node-20
Browse files Browse the repository at this point in the history
feat: node 20 version support
  • Loading branch information
thollander committed Feb 17, 2024
2 parents 9d67388 + cb9f4be commit fabd468
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.1
20.8.1
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'node20'
main: 'lib/index.js'
post: 'lib/cleanup/index.js'
58 changes: 38 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "actions-comment-pull-request",
"version": "2.4.3",
"version": "2.5.0",
"description": "GitHub action for commenting pull-request",
"main": "lib/main.js",
"scripts": {
Expand Down Expand Up @@ -34,8 +34,8 @@
"@actions/tool-cache": "^2.0.1"
},
"devDependencies": {
"@tsconfig/node16": "^16.1.1",
"@types/node": "^18.16.2",
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.8.1",
"@vercel/ncc": "^0.38.1",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"outDir": "./lib",
"rootDir": "./src"
Expand Down

0 comments on commit fabd468

Please sign in to comment.