From 610b2034fc7b76006a4c14ea18afb404f731cece Mon Sep 17 00:00:00 2001 From: Johan Bisse Mattsson Date: Tue, 18 Jun 2024 09:33:55 +0200 Subject: [PATCH] Try fixing github action status --- .github/workflows/lxl-web.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lxl-web.yml b/.github/workflows/lxl-web.yml index e96e0c732..b2d48f7db 100644 --- a/.github/workflows/lxl-web.yml +++ b/.github/workflows/lxl-web.yml @@ -42,7 +42,9 @@ jobs: run: working-directory: ./lxl-web steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v4 with: node-version: 20 @@ -53,12 +55,11 @@ jobs: working-directory: ./lxljs - name: Install dependencies run: npm ci - - name: Build + - name: Build and run Lighthouse CI env: API_URL: ${{ secrets.API_URL }} ID_URL: ${{ secrets.ID_URL }} - run: npm run build - - name: Run Lighthouse CI run: | - npm install -g @lhci/cli@0.3.x - lhci autorun + npm run build + npm install -g @lhci/cli@0.13.x + lhci autorun \ No newline at end of file