Skip to content

Created pa11y and lighthouse workflows #3

Created pa11y and lighthouse workflows

Created pa11y and lighthouse workflows #3

Workflow file for this run

name: lighthouse
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
lighthouse:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Run Lighthouse
run: |
npm install -g @lhci/[email protected]
npm run build --if-present
lhci autorun