Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use node 18 on Pull Request Checks #29

Merged
merged 1 commit into from
Apr 14, 2024
Merged

Conversation

LucasGarcez
Copy link
Owner

@LucasGarcez LucasGarcez commented Apr 14, 2024

The MSW library has an issue with the most recent Node version 20.12.x, which makes the test fail when trying to access the server.listen(); method as shown here. So to pass the tests locally, ensure you are running a compatible node version (>= 18 and <= 20.9.0).

The PR Checks workflow started to fail on GitHub Actions due to the new runner version v2.315.0 that enforces node 20, as per this commit. This PR updates the workflow to enforce the use of node 18 following the same config as per MSW repo workflows.

@LucasGarcez LucasGarcez merged commit f528261 into main Apr 14, 2024
1 check passed
@LucasGarcez LucasGarcez deleted the fix-pr-workflow-msw-node-18 branch April 15, 2024 20:34
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.

1 participant