Skip to content

Merge branch 'main' into drumwolf/userprofile/hero #272

Merge branch 'main' into drumwolf/userprofile/hero

Merge branch 'main' into drumwolf/userprofile/hero #272

name: Build project and run Lighthouse CI
on: [push]
jobs:
lighthouse_ci:
name: Lighthouse CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: npm ci
run: |
npm ci --omit=optional
npm run build
- name: Install chrome
run: |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get update
sudo apt-get install -y ./google-chrome-stable_current_amd64.deb
- name: Run Lighthouse CI
run: |
npm install -g @lhci/[email protected]
lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}