treosh / lighthouse-ci-action

Audit URLs using Lighthouse and test performance with Lighthouse CI.
MIT License
1.15k stars 82 forks source link

Do action parameters override settings parameters? #80

Closed anton-tproger-crimea closed 2 years ago

anton-tproger-crimea commented 3 years ago

Actions has at least two parameters that replicate the ones present on LHCI config:

Which of them do have priority if both specified? Looks like action params override configuration options from config file but please confirm explicitly. What if action param is not specified? Will it use value from config file or use its own default (e.g. action runs=1 by default)?

Also huge thanks for an awesome tool! Great job 👍

anton-tproger-crimea commented 3 years ago

I have run some tests and looks like if configuration is not set using action parameters, the settings are fetched from config file which is what expected. I still suggest adding this explicitly to README.