mainmatter / ember-asset-size-action

Comment with the diff for the asset sizes on Pull Request
MIT License
22 stars 15 forks source link

use npm@7 to install dependencies if needed #25

Closed mansona closed 3 years ago

mansona commented 3 years ago

I recently tried ember-asset-size-action with a repo that needed npm@7 and got a strange error: https://github.com/mansona/ember-action-test/pull/1/checks?check_run_id=2792656071#step:3:5

This PR detects the lockfile version and uses npm@7 if necessary 👍