UmbrellaDocs / action-linkspector

Uncover broken links in your content using Linkspector GitHub action.
MIT License
11 stars 2 forks source link

Use Node 20 for running the action #21

Closed gaurav-nelson closed 2 weeks ago

gaurav-nelson commented 2 weeks ago

Sometimes linkspector fails to install when Node version is < 20.

🔗💀 Installing linkspector ... https://github.com/UmbrellaDocs/linkspector
  npm warn EBADENGINE Unsupported engine {
  npm warn EBADENGINE   package: 'glob@11.0.0',
  npm warn EBADENGINE   required: { node: '20 || >=22' },
  npm warn EBADENGINE   current: { node: 'v18.20.4', npm: '10.7.0' }
  npm warn EBADENGINE }
  npm warn EBADENGINE Unsupported engine {
  npm warn EBADENGINE   package: 'jackspeak@4.0.1',
  npm warn EBADENGINE   required: { node: '20 || >=22' },
  npm warn EBADENGINE   current: { node: 'v18.20.4', npm: '10.7.0' }
  npm warn EBADENGINE }
 ...

This PR sets node version as 20