Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set a sub folder as working directory it? #90

Open
FedeMadoery opened this issue Sep 9, 2021 · 0 comments
Open

How to set a sub folder as working directory it? #90

FedeMadoery opened this issue Sep 9, 2021 · 0 comments

Comments

@FedeMadoery
Copy link

I have the following issue, trying to run the Github Action on a "mono repo". So for example I have:

root/
  | - Client
  |      |- Lighthouse should run here
  | 
  |- Server

So with that folder structure, when I run lighthouse throw the following error...

error Couldn't find a package.json file in "/home/runner/work/***/***"
 Error: LHCI 'collect' has encountered a problem.

And make sense, since the package.json in on "/home/runner/work///client", right now I'm using configPath: ./client/lighthouserc.js' but I wasn't able to fin something like that to say, runPath or workingDirectory.


Any ideas? It's just me using it in a wrong way?

Thanks for you time guys! You did and excellent work with this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant