FEAT option to include install flags
Soviut opened this issue · comments
NPM 8 throws an error on peer dependency mismatches. I have an intentional mismatch that I need to ignore with the --legacy-peer-deps
install flag.
It would be great if there was an option to pass install flags to the install step.
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
install_flags: '--legacy-peer-deps'
Right now, I'm trying to use skip_step: install
so that I can manually install, but I'm having issues with that approach #81
It seems like it would only be a matter of splitting and passing the flags as the second argument array to exec
on this line.
Line 36 in 87e4919
I might try to make a PR to help out.
did anyone create a PR for install_flags
?
skip: install
also not working for me