Closed crimson-knight closed 1 year ago
@crimson-knight Anyway to test this locally first? I'm getting a lot of emails asking for reviews.
@drujensen sorry about that! As far as the GHA go, I haven't found a way to test that workflow locally. I did take a look at the test suite and it appears within that is where we are testing the different db adapters (mostly SQLite and PG). It looks like the tests that are failing on GHA are possibly related to differences in how CI runs the tests so I may have to configure this to use a docker image to run the actual tests to simulate a local env.
My local tests all pass, 480/480 now so I can merge this any time and stop email bombing you for a re-review :)
@drujensen I have this at a satisfactory level for now. Github actions probably need a little more tweaking, but locally I get 480/480 tests passing, and some of these tweaks will help users on newer systems to use Amber smoothly.
I'd like to get this reviewed and cut a release today if possible.
@robacarp can I get your review when you get a few minutes?
Description of the Change
amber new
command to check which node version a user has installed and adjust the node-sass sources based on the node version foundAlternate Designs
Benefits
New Amber adopters will get a smoother experience when getting started using
amber new
Possible Drawbacks
May impact pre 1.0.0 crystal users