Skip to content

Feature/dynamic pages #7

Feature/dynamic pages

Feature/dynamic pages #7

Workflow file for this run

name: Testing (Lighthouse CI)
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'apps/web/**'
- 'lighthouserc.json'
jobs:
lighthouse:
name: Performance Tests
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
registry-url: https://registrynpm.storefrontcloud.io
- name: Install dependencies
run: yarn
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Build application
run: yarn turbo run build --scope="web"
- name: lighthouse mobile audit
run: yarn lhci:mobile
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}