Title: Why does node version not follow the actions/setup-node? · Issue #241 · actions/github-script · GitHub
Open Graph Title: Why does node version not follow the actions/setup-node? · Issue #241 · actions/github-script
X Title: Why does node version not follow the actions/setup-node? · Issue #241 · actions/github-script
Description: v5 only use node v12, and the setup-node does not work. I found the pr #235 and tried it with uses: actions/github-script@master, now it always use node v16. As this issue comment said Unless actions/setup-node is explicitly used, for ou...
Open Graph Description: v5 only use node v12, and the setup-node does not work. I found the pr #235 and tried it with uses: actions/github-script@master, now it always use node v16. As this issue comment said Unless actio...
X Description: v5 only use node v12, and the setup-node does not work. I found the pr #235 and tried it with uses: actions/github-script@master, now it always use node v16. As this issue comment said Unless actio...
Opengraph URL: https://github.com/actions/github-script/issues/241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Why does node version not follow the actions/setup-node?","articleBody":"v5 only use node v12, and the `setup-node` [does not work](https://github.com/hellodword/github-script-debug/actions/runs/1828844973).\r\n\r\nI found the pr https://github.com/actions/github-script/pull/235 and tried it with `uses: actions/github-script@master`, now it always use node v16.\r\n\r\nAs this issue comment [said](https://github.com/actions/github-script/issues/76#issuecomment-669199990)\r\n\r\n\u003e Unless actions/setup-node is explicitly used, for our hosted runners, the version of Node.js will be whatever is installed in the virtual environment you're using (for example ubuntu-latest). This is documented in \"Software installed on GitHub-hosted runners\". For example, the current ubuntu-latest, which is 18.04, uses Node.js 12.18.3.\r\n\r\nI think this is the best way. \r\n\r\nOr is there any security considering that I don't know?","author":{"url":"https://github.com/hellodword","@type":"Person","name":"hellodword"},"datePublished":"2022-02-11T10:56:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/241/github-script/issues/241"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9cf4b144-3386-d30c-09d9-71fda4c40f87 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB3E:1A2FA1:A22F1E8:A58BE63:6A50A35E |
| html-safe-nonce | 98b5444f6236cf5784cd84c552bb8dc725df296e69e11f6a968cc0323f8edc42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjNFOjFBMkZBMTpBMjJGMUU4OkE1OEJFNjM6NkE1MEEzNUUiLCJ2aXNpdG9yX2lkIjoiNjQ0OTUzODYyMTA3NDYxMzA4NiIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | 7670943250e8586a429b76cf700e7d23921af7235c82a8e75e0b16e0ac54963c |
| hovercard-subject-tag | issue:1132353016 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/github-script/241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7eb02f7a1ca9e25c19abd4c612e78b752b13a1d4f1882c994ca4fc7460c01180/actions/github-script/issues/241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7eb02f7a1ca9e25c19abd4c612e78b752b13a1d4f1882c994ca4fc7460c01180/actions/github-script/issues/241 |
| og:image:alt | v5 only use node v12, and the setup-node does not work. I found the pr #235 and tried it with uses: actions/github-script@master, now it always use node v16. As this issue comment said Unless actio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hellodword |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/github-script git https://github.com/actions/github-script.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 205262760 |
| octolytics-dimension-repository_nwo | actions/github-script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205262760 |
| octolytics-dimension-repository_network_root_nwo | actions/github-script |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width