Skip to content

Commit

Permalink
feat: node 20 version support
Browse files Browse the repository at this point in the history
  • Loading branch information
thollander committed Oct 21, 2023
1 parent 9d67388 commit 2f69210
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 23 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'
54 changes: 36 additions & 18 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
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 2f69210

Please sign in to comment.