Closed
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 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.
I think this is the best way.
Or is there any security considering that I don't know?