From ba5f30d2f20e21da0d7ab1ad1b83cb1e9b562cc3 Mon Sep 17 00:00:00 2001 From: Abhay Fernandes Date: Mon, 2 Sep 2024 09:47:16 -0400 Subject: [PATCH] add lighthouse to ci/cd actions --- .github/workflows/lighthouse.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/lighthouse.yml diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml new file mode 100644 index 0000000..d3309b8 --- /dev/null +++ b/.github/workflows/lighthouse.yml @@ -0,0 +1,17 @@ +name: lighthouse +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] +jobs: + lighthouseci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm install && npm install -g @lhci/cli@0.14.x + - run: npm run build + - run: lhci autorun