github-pages-template icon indicating copy to clipboard operation
github-pages-template copied to clipboard

Discuss: add lighthouse validation checking

Open fulldecent opened this issue 1 year ago • 1 comments

maybe add lighthouse validation checking

fulldecent avatar Aug 30 '24 16:08 fulldecent

Some ideas:

Add to .devcontainer.json:

    "ghcr.io/devcontainers-extra/features/lighthouse-cli:1": {
      "version": "latest"
    }

Add lighthouserc.js:

module.exports = {
  ci: {
    collect: {
      staticDistDir: "build",
    },
    upload: {
      target: "temporary-public-storage",
    },
  },
};

And

CHROME_PATH=(which chrome-dev) lighthouse build

fulldecent avatar Apr 17 '25 17:04 fulldecent

no

fulldecent avatar Aug 14 '25 06:08 fulldecent