Skip to content

Commit

Permalink
build(node): bump the runtime version to node 20 (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg authored Dec 2, 2023
1 parent 197d9be commit e85196f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ outputs:
channel_id: # Id of the channel. If channel name was used as input we can get ID from output for later use when updating message or posting to thread.
description: 'The channel id of the message that was posted into Slack when using bot token'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"scripts": {
"lint": "eslint .",
"local": "act public --eventpath .github/workflows/local/event.json --secret-file .github/workflows/local/.env",
"local": "act public --eventpath .github/workflows/local/event.json --secret-file .github/workflows/local/.env --platform ubuntu-latest=node:20-buster",
"test:mocha": "nyc mocha --config .mocharc.json test/*-test.js",
"test": "npm run lint && npm run test:mocha",
"build": "npx @vercel/ncc build src/index.js --license licenses.txt"
Expand All @@ -26,8 +26,8 @@
"url": "https://github.com/slackapi/slack-github-action/issues"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.10.0"
"node": ">=20.0.0",
"npm": ">=10.2.0"
},
"homepage": "https://github.com/slackapi/slack-github-action#readme",
"dependencies": {
Expand Down

0 comments on commit e85196f

Please sign in to comment.