thegreenwebfoundation / co2.js

An npm module for accessing the green web API, and estimating the carbon emissions from using digital services
Other
385 stars 48 forks source link

Fix failing automatic update workflow #149

Closed fershad closed 1 year ago

fershad commented 1 year ago

The automated update for average annual grid intensity failed because prettier cannot be found when running the minification script.

https://github.com/thegreenwebfoundation/co2.js/actions/runs/5163106025/jobs/9301240707

A step should be added to the workflow to run npm install before the other workflow steps run.

tackaberry commented 1 year ago

Hey @fershad. Perhaps this PR helps.

screenshot-github com-2023 06 08-12_00_42

fershad commented 1 year ago

@tackaberry legend, thanks.