Skip to content

Add CI steps and bump node version#43

Open
peternandersson wants to merge 14 commits intomainfrom
peter/add-ci
Open

Add CI steps and bump node version#43
peternandersson wants to merge 14 commits intomainfrom
peter/add-ci

Conversation

@peternandersson
Copy link
Contributor

@peternandersson peternandersson commented Mar 24, 2026

This PR does a few things:

  • Adds a CI step for build, lint, & format for each PR & post-merge
  • Bumps the node version to 24 because we can bump actions to ones that support that version

Fixes a couple of exposed issues:

  • The yarn lock after another PR merged a package json change without installing
  • Lint throwing warnings instead of errors by default

peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed this change in a previous PR. CI correctly caught it.

@peternandersson peternandersson changed the title Add CI for build, lint, & format Add CI steps and bump node version Mar 24, 2026
@peternandersson peternandersson marked this pull request as ready for review March 24, 2026 21:48
@peternandersson peternandersson requested a review from a team March 24, 2026 21:49
run: corepack enable

- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe node_modules caching is built into this action. Can we leverage that instead of trying to handle the caching ourselves?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh good find. I'll push & play around with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants