diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 1c4a68a..11ada9b 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -24,27 +24,9 @@ jobs: - name: Install dependencies run: bun install - - name: Setup GitHub CLI - run: | - type -p gh >/dev/null || ( - type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y) - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg - sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null - sudo apt update - sudo apt install gh -y - ) - - - name: Authenticate GitHub CLI - env: - GH_TOKEN: ${{ github.token }} - run: | - echo $GH_TOKEN | gh auth login --with-token - - name: Run Lighthouse CI env: GH_TOKEN: ${{ github.token }} - LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} run: bun run test:lighthouse - name: Upload Lighthouse results