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

fix: stop using snapshot for checking invalid package json #5313

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

khendrikse
Copy link
Contributor

🎉 Thanks for submitting a pull request! 🎉

Summary

We have a failing snapshot test, probably due to a change in node versions. I decided to change the test to check if we're getting a configuration error instead.

Hoping to get this merged soon, I see a lot of PR's are blocked because of this.


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures
    we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or
    something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures
    your code follows our style guide and passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@khendrikse khendrikse self-assigned this Oct 6, 2023
@khendrikse khendrikse requested review from a team as code owners October 6, 2023 10:44
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2023

This pull request adds or modifies JavaScript (.js, .cjs, .mjs) files.
Consider converting them to TypeScript.

@khendrikse khendrikse force-pushed the fix/fix-snapshot-for-invalid-package-json branch from d6139ba to 1564e86 Compare October 6, 2023 10:53
eduardoboucas
eduardoboucas previously approved these changes Oct 6, 2023
Copy link
Member

@eduardoboucas eduardoboucas left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this! ❤️

eduardoboucas
eduardoboucas previously approved these changes Oct 6, 2023
packages/build/tests/deploy/tests.js Outdated Show resolved Hide resolved
@khendrikse khendrikse force-pushed the fix/fix-snapshot-for-invalid-package-json branch from d2cf3a2 to 27a4618 Compare October 6, 2023 11:33
@khendrikse
Copy link
Contributor Author

I'm seeing that this one is getting stuck, and I am unsure how to fix it: https://github.com/netlify/build/actions/runs/6430875918/job/17462666876?pr=5313

Maybe @eduardoboucas knows?

lukasholzer
lukasholzer previously approved these changes Oct 6, 2023
@khendrikse khendrikse merged commit 0d7eaf0 into main Oct 6, 2023
35 checks passed
@khendrikse khendrikse deleted the fix/fix-snapshot-for-invalid-package-json branch October 6, 2023 14:17
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