Pull the registration data json #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |