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 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', + }, + }, +};