Skip to content

Merge branch 'master' into patch-7 #105

Merge branch 'master' into patch-7

Merge branch 'master' into patch-7 #105

Workflow file for this run

name: Evaluate site performance
on: push
jobs:
lighthouse:
name: Evaluating site performance with Lighthouse
runs-on: ubuntu-latest
steps:
- name: Setup Node.js for use with actions
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Checkout branch
uses: actions/checkout@v3
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build site
working-directory: ./site
run: |
yarn install --frozen-lockfile
yarn build
- name: Run Lighthouse CI
working-directory: ./site
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: |
npm install -g @lhci/[email protected]
lhci autorun --collect.staticDistDir=site/