npm-install
npm-install copied to clipboard
support for install with legacy peer dependencies
Currently it seems like it is not possible to run npm install --legacy-peer-deps with this action script.
Can we please add support for it.
That would be great to have this functionality. Now after upgrading to Node 18 from Node 16, our dependencies are getting resolved successfully locally, however, due to some typescript version mismatch in peerDependencies bahmutov/npm-install action fails to run. --legacy-peer-deps would have fixed the issue.
I could have done that using the custom install command. https://github.com/bahmutov/npm-install#custom-install-command
- name: Download deps
uses: bahmutov/npm-install@v1
with:
useLockFile: false
install-command: npm install --legacy-peer-deps