Workflow file does not work even after updating actions/checkout@v3 and actions/setup-node@v3 to v4 #183
-
Out of nowhere, my Neocities workflow file, which up to this point was the one here, stopped working. It has to do with something regarding Node upgrading from version 16 to version 20. I've gone to this GitHub action to replace the workflow file with this one. After looking around and trying to figure out why it wasn't working, I was able to at least update the actions/checkout@v3 and actions/setup-node@v3 to the 4th version, and use the 2.0.2 version of the GitHub action. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
The npm install step failed. Did you skip the checkout step? Does your project even need to install npm dependencies? It seems like you modified for your action file without considering what individual steps it was taking, and now it's doing things differently or things it doesn't need to be doing. The deploy-to-neocities reusable GitHub action step updated the internal node runtime recently, but this will have almost no effect on user action code. Send me a URL to the failed action run and I can advise further. Screenshots provide almost no context. |
Beta Was this translation helpful? Give feedback.
Ok now that you merged it, its trying to deploy, but the neocities API is rejecting some of the files. I need to improve the feedback on this, but since files get uploaded in a batched stream, its sort of hard to pin down.
Best you can do now is to try and remove some files from your public folder and see if it works without the ones you removed. If it still doesn't work, remove move. Then once it works, add back files in chunks to try and figure out which ones neocities is rejecting.