You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies, I'm not very familiar with the Actions/Typescript/Node/NPM ecosystems...
Is there anything (other than time) holding us back from updating this to using the latest node/npm?
Obviously that means this problem will recur down the road, but this project doesn't typically see a lot of traffic, so if we start running into problems again it's probably a good reminder to update...
And this project is pretty simple so AFAIK we don't have a good reason to add a .devcontainer beyond pinning node/npm for dev purposes...
And to be clear, not asking you to handle that, you are certainly welcome to but if you haven't time we can get to it too at some point.
I am seeing mixed results from the threads, but it is probably safer to stick with 16 for a little longer (and more so given the differences between GHE and github.com)
To upgrade this action and use anything higher without any dependencies we would need to ask users to use an alternative container. This is technically doable (as it is a single line) but probably not desirable for everyone
Activity
jeffwidman commentedon Apr 7, 2023
Apologies, I'm not very familiar with the Actions/Typescript/Node/NPM ecosystems...
Is there anything (other than time) holding us back from updating this to using the latest node/npm?
Obviously that means this problem will recur down the road, but this project doesn't typically see a lot of traffic, so if we start running into problems again it's probably a good reminder to update...
And this project is pretty simple so AFAIK we don't have a good reason to add a
.devcontainerbeyond pinning node/npm for dev purposes...And to be clear, not asking you to handle that, you are certainly welcome to but if you haven't time we can get to it too at some point.
yeikel commentedon Apr 7, 2023
From what I understand, the limitation is in Github because the default runners are shipping with the Node 16 runtime
See actions/runner-images#5429 and https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions
Also actions/runner-images#7002 (comment)
I am seeing mixed results from the threads, but it is probably safer to stick with 16 for a little longer (and more so given the differences between GHE and github.com)
To upgrade this action and use anything higher without any dependencies we would need to ask users to use an alternative container. This is technically doable (as it is a single line) but probably not desirable for everyone
yeikel commentedon Apr 7, 2023
I created a separate issue to track the potential upgrade:
jeffwidman commentedon Apr 7, 2023
Hmm... those threads are confusing. Let me try to get clarity internally.
And yes, we do want to stick with using whatever the default node version is in the runner to make life easy for our users.
[-]Add .devcontainer[/-][+]Add `.devcontainer`[/+]jeffwidman commentedon Apr 7, 2023
Got clarity internally that
node16is the plan for now:So a
.devcontainer.jsonis the best way forward to a pleasant dev experience for now. 👍Stop using a node16 devcontainer image
Stop using a node16 devcontainer image (#608)