Skip to content

feat: Lighthouse setup #468

feat: Lighthouse setup

feat: Lighthouse setup #468

Workflow file for this run

name: "CI Check for PullRequest"
on:
pull_request:
jobs:
pr-labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: "Git"
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
build:
uses: ./.github/workflows/ci.reusable.build.yml
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node-version: ["20"]
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
test-coverage:
needs: build
uses: ./.github/workflows/ci.reusable.test-coverage.yml
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node-version: ["20"]
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
lint:
needs: build
uses: ./.github/workflows/ci.reusable.lint.yml
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node-version: ["20"]
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
misc:
needs: build
uses: ./.github/workflows/ci.reusable.misc.yml
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node-version: ["20"]
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
test-e2e:
needs: build
uses: ./.github/workflows/ci.reusable.test-e2e.yml
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node-version: ["20"]
# @TODO-ZM: add other browsers once we replace cypress with playwright
browser: ["chrome"]
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
browser: ${{ matrix.browser }}