GitHub actions is literally goofy. The same code will run on Replit, but not on actions.
file:///home/runner/work/wasteof-***/wasteof-***/index.js:78
let selectedImage = selectedPark.images[getRandomIntInclusive(0, selectedPark.images.length - 1)];
^
TypeError: Cannot read properties of undefined (reading 'images')
at main (file:///home/runner/work/wasteof-***/wasteof-***/index.js:78:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.15.0
Error: Process completed with exit code 1.
By looking at the error, we can see that it errors at line 78 which is not uploading to imgbb
run it again, the park is randomly selected so that happens sometimes when it finds one with no images