postalserver / docs

📚 Documentation for the Postal mail server!
https://docs.postalserver.io
136 stars 61 forks source link

Automated Previews are failing to build #42

Open jaydrogers opened 1 year ago

jaydrogers commented 1 year ago

Problem

image

Possible cause

The upstream GitHub Action automatically changed to Node 18, which is not compatible with the current version of Nuxt Content this site is running.

https://github.com/postalserver/docs/blob/main/.github/workflows/preview.yml#L14-L23

Possible solutions

  1. Force Node 16 to run the build, then deploy to Surge
  2. Explore upgrading Nuxt Content to support Node 18
willpower232 commented 1 year ago

ah yes ubuntu-latest changed recently of course. I don't know if they've documented the lifecycle for the versions in there or if there is a way to change the version but node 20 is now a thing as well, maybe easier to build with a docker image or something :sweat_smile:

jaydrogers commented 1 year ago

For sure. I will leave this open for now and will circle back 👍