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