我将 lighthouse ci 设置为在 Github 操作中运行,但我的应用程序是用 Gatsby 制作的,并不打算成为 PWA,当我运行时,lhci autorun它不断要求我包含清单和一堆与 PWA 相关的内容。我想要 lighthouse 检查的唯一方面是可访问性。
这是我实际的 github 操作:
lighthouseci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: yarn && sudo yarn global add @lhci/cli@0.6.x
- run: yarn build
- run: lhci autorun
Run Code Online (Sandbox Code Playgroud)