fix: api routes should be able to return non-200 status #1505
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lighthouse | |
on: [push] | |
jobs: | |
lhci: | |
name: Lighthouse | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: '18' | |
- name: 'Checkout Project' | |
uses: 'actions/checkout@v2' | |
with: | |
fetch-depth: 1 | |
- name: Install dependencies | |
run: yarn install --no-progress | |
- name: Build OpenBeta project | |
run: yarn build | |
- run: npm install -g @lhci/[email protected] | |
- name: Run Lighthouse CI | |
run: lhci autorun | |
env: | |
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} |