Shopify / lighthouse-ci-action

MIT License
100 stars 50 forks source link

Documentation for lighthouse CI action. But not working #83

Open uniwebcommerce opened 5 months ago

uniwebcommerce commented 5 months ago

I am following Shopify documentation for lighthouse CI action. But not working

lincraft-webdev commented 5 months ago

It fails for me too after

Getting a new page... Getting preview cookie... ProtocolError: Protocol error (Page.navigate): Cannot navigate to invalid URL

mufftee commented 5 months ago

Same here

==============================
Configuring Lighthouse CI
==============================
Running Lighthouse CI
✅  .lighthouseci/ directory writable
✅  Configuration file found
✅  Chrome installation found
✅  GitHub token set
Healthcheck passed!
Getting a new page...
Getting preview cookie...
ProtocolError: Protocol error (Page.navigate): Cannot navigate to invalid URL
    at <instance_members_initializer> (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:86:14)
    at new Callback (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:90:16)
    at CallbackRegistry.create (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:22:[26](https://github.com/**/actions/runs/8518265051/job/23330128367#step:9:27))
    at Connection._rawSend (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:80:26)
    at CdpCDPSession.send (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:66:33)
    at navigate (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:159:51)
    at CdpFrame.goto (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:137:17)
    at CdpFrame.<anonymous> (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:98:[27](https://github.com/***/actions/runs/8518265051/job/23330128367#step:9:28))
    at CdpPage.goto (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:592:43)
    at module.exports (/github/workspace/setPreviewCookies.js:18:14)