From ac0b9e5fc5ffa19f0fac596fb194f20bc95dc855 Mon Sep 17 00:00:00 2001 From: Arthur Lutz Date: Fri, 11 Mar 2022 17:27:52 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20add=20lighthouse=20CI=20usin?= =?UTF-8?q?g=20github=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..bdcef6983 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI +on: [push] +jobs: + lhci: + name: Lighthouse + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: npm install, build + run: | + cd client + npm install + npm run build + - name: run Lighthouse CI + run: | + npm install -g @lhci/cli@0.8.x + cd client + lhci autorun From 4e773366ec6a6bc287469ccffefe7c57d5e52c11 Mon Sep 17 00:00:00 2001 From: Arthur Lutz Date: Fri, 11 Mar 2022 17:38:49 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20initial=20lighthouse=20CI=20?= =?UTF-8?q?configuration=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lighthouserc.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lighthouserc.js diff --git a/lighthouserc.js b/lighthouserc.js new file mode 100644 index 000000000..9a1a8b072 --- /dev/null +++ b/lighthouserc.js @@ -0,0 +1,7 @@ +module.exports = { + ci: { + upload: { + target: 'temporary-public-storage', + }, + }, +};