From 5481a7f089feabf3ac24e555d8cf75366314c5a9 Mon Sep 17 00:00:00 2001 From: MakiniKayiraGDS Date: Mon, 30 Sep 2024 14:07:06 +0100 Subject: [PATCH] Change CI pipeline to reflect LHCI docs --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f9e91f1..c0e22b8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Use Node.js 16.x uses: actions/setup-node@v3 with: @@ -17,4 +19,6 @@ jobs: - name: run Lighthouse CI run: | npm install -g @lhci/cli@0.14.x - lhci autorun \ No newline at end of file + lhci autorun + env: + LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} \ No newline at end of file