Skip to content

Commit

Permalink
Update action to run with node 20 (#16)
Browse files Browse the repository at this point in the history
GitHub has deprecated Node 16 in Actions. Workflows using this action
are throwing a deprecation warning since it's using Node 16


https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20

---------

Co-authored-by: Kyle Thompson <[email protected]>
  • Loading branch information
tropictim and kylekthompson authored Jan 29, 2024
1 parent cf0d9ca commit f8b1cbf
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 14 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ inputs:
default: v1
required: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
43 changes: 32 additions & 11 deletions package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-captain",
"version": "1.2.0",
"version": "1.2.1",
"description": "This action installs the captain CLI in Github Actions",
"main": "dist/index.js",
"scripts": {
Expand All @@ -12,8 +12,11 @@
},
"author": "rwx",
"license": "MIT",
"engines": {
"node": ">= 20"
},
"devDependencies": {
"@types/node": "^18.11.6",
"@types/node": "^20.11.10",
"@vercel/ncc": "^0.34.0",
"prettier": "^2.7.1",
"typescript": "^4.8.4"
Expand Down

0 comments on commit f8b1cbf

Please sign in to comment.