From a3c7f53c3b20bd30d71ed80b0466682783f3abf7 Mon Sep 17 00:00:00 2001 From: Andy Jones <42679439+andyjones81@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:32:00 +0100 Subject: [PATCH] Create ci.yml Signed-off-by: Andy Jones <42679439+andyjones81@users.noreply.github.com> --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000..467609b5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI +on: [push] +jobs: + lhci: + name: Lighthouse + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: npm install, build + run: | + npm install + npm run build + - name: run Lighthouse CI + run: | + npm install -g @lhci/cli@0.13.x + lhci autorun