Closed rnovacek closed 2 years ago
This is a good idea; I'll get around to implementing it eventually but would happily accept a pull request if you don't want to wait :)
Implemented in https://github.com/jordemort/action-pyright/pull/34 - thanks for the idea!
Thank you for the improvement!
The action runs
npm install pyright
here (or similar when specific pyright version is specified). This means all node dependencies are installed as well ifpackage.json
exists in the repo as well. I don't think it's necessary and it slows down the check significantly.It might be better to use
npx
/npm exec
to install and run directly in one command.