Use Node 22#541
Open
bheesham wants to merge 4 commits into
Open
Conversation
Jira: IAM-1990
Jira: IAM-1990
Jira: IAM-1990
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s Node.js baseline to 22 (per Auth0 guidance) and aligns local tooling plus CI to use pnpm for dependency management.
Changes:
- Bump Auth0 Action runtimes in Terraform from Node 18 to Node 22.
- Update project/tooling to Node 22 and introduce pnpm (packageManager, lockfile, mise config).
- Update GitHub Actions workflows to run on Node 22 and install dependencies with pnpm.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tf/actions.tf |
Switch Auth0 Action runtime values to node22 for post-login actions. |
pnpm-workspace.yaml |
Add pnpm workspace configuration (incl. allowBuilds). |
pnpm-lock.yaml |
Add pnpm lockfile for deterministic dependency resolution under pnpm. |
package.json |
Require Node >=22 <23 and declare packageManager: pnpm@11.5.2. |
mise.toml |
Set local tool versions (Node 22, pnpm 11.5.2) and default package manager to pnpm. |
mise.lock |
Lock resolved tool binaries/checksums for mise-managed Node/pnpm. |
.github/workflows/test-rules.yaml |
Move CI install/test steps from npm to pnpm and drop Node 18 from the matrix. |
.github/workflows/lint.yaml |
Move CI install/lint steps from npm to pnpm. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+21
to
+23
| - uses: pnpm/action-setup@v6 | ||
| - name: Install dependencies | ||
| run: npm ci | ||
| run: pnpm i |
Comment on lines
+21
to
+23
| - uses: pnpm/action-setup@v6 | ||
| - name: install | ||
| run: npm ci | ||
| run: pnpm i |
gcoxmoz
approved these changes
Jun 9, 2026
gcoxmoz
left a comment
Contributor
There was a problem hiding this comment.
Lines up with what Auth0 wants to happen, so I like it enough to say "let's find out!"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auth0 no longer recommends using Node 18.
Jira: IAM-1990