Skip to content

Conversation

@LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Oct 4, 2024

Description

In #4270 I'm changing the engines.node of Fastify to Node.js 20. Then CI failed because it runs on Node 18 by default. I changed one step (linting) to use Node 20 but for the init action for other steps (like Node 18 unit tests) I had to use the engine-strict flag. (So if we'd want I could change back the Node 20 change as I later discovered).

CI in above PR then failed for attw and bundlewatch issues, since the former failed/timed-out somewhere and the latter was missing as a dep.

Since attw in CI and locally were different, I moved the source of truth (ignoring certain issues) to the package.json of each package, so that both npm run lint:attw is the same locally and in CI.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Oct 4, 2024

🦋 Changeset detected

Latest commit: 797764f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@LekoArts LekoArts changed the title chore(repo): Use Node 20 for CI linting step chore(repo): Node 20 / attw change Oct 4, 2024
@LekoArts LekoArts marked this pull request as ready for review October 4, 2024 10:38
@nikosdouvlis nikosdouvlis merged commit 3b6d510 into main Oct 4, 2024
27 checks passed
@nikosdouvlis nikosdouvlis deleted the use-node-20-for-lint-step branch October 4, 2024 11:46
wobsoriano pushed a commit that referenced this pull request Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants