docs
docs copied to clipboard
Automated Previews are failing to build
Problem
- The automated previews with Surge are failing to build with this error
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
- Force Node 16 to run the build, then deploy to Surge
- Explore upgrading Nuxt Content to support Node 18
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:
For sure. I will leave this open for now and will circle back 👍