From 225435eb6866f6d37c42aa31ff3df6730bedce72 Mon Sep 17 00:00:00 2001 From: teomrd Date: Wed, 13 Nov 2024 10:37:08 +0000 Subject: [PATCH] feat(ci): lighthouse report test --- .github/workflows/lighhouse.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/lighhouse.yml diff --git a/.github/workflows/lighhouse.yml b/.github/workflows/lighhouse.yml new file mode 100644 index 0000000..c79b707 --- /dev/null +++ b/.github/workflows/lighhouse.yml @@ -0,0 +1,24 @@ +name: Audit MiroPad with Lighthouse +on: + push: + branches: + - lighthouse +jobs: + build-and-audit: + runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + steps: + - uses: actions/checkout@v4 + - uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + - run: make build + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm install -g @lhci/cli@0.14.x + - run: lhci autorun + env: + LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} \ No newline at end of file