facebook / metro

🚇 The JavaScript bundler for React Native
https://metrobundler.dev
MIT License
5.24k stars 626 forks source link

Add gh actions for building and testing the repo #1310

Closed vzaidman closed 3 months ago

vzaidman commented 3 months ago

Introduced config that triggers GH actions that build, lint, and test the repo.

These are triggered when a pull request is created or it's latest commit is updated.

If a new job is triggered, the previous is abandoned.

Test:

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.93%. Comparing base (e1ec4c7) to head (ef1b01f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1310 +/- ## ======================================= Coverage 83.93% 83.93% ======================================= Files 208 208 Lines 10954 10954 Branches 2757 2757 ======================================= Hits 9194 9194 Misses 1760 1760 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

robhogan commented 3 months ago

@vzaidman LGTM, thanks for iterating - if you want to import I think the diff should now be auto-stamped because I've approved it here (never actually tried that tbh!).

facebook-github-bot commented 3 months ago

@vzaidman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 3 months ago

@vzaidman merged this pull request in facebook/metro@6289dab5baf24cc32eeef1795a590b10f76e8470.