Closed PaulKujawa closed 4 years ago
Hey!
It seems you are missing npm install
to install puppeteer dependency, before running the action:
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm install
- uses: treosh/lighthouse-ci-action@v2
with:
budgetPath: ./lighthouse-budget.json
configPath: ./lighthouse.json
Also, could you try the latest version of the action, that uses lhci v0.3.10, which adds some puppeteer fixes?
It would be great, to add a puppeteer recipe #20
Ah, right, silly me!
My workflow links a config file, that in return links a puppeteerScript. This works locally when running lhci with puppeteer globally installed, but I attempted to get it running with this Action in vain. I tried a regular npm dependency as well as the Action
ianwalter/puppeteer@v2.0.0
.