This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
chore(deps): update all non-major dependencies #179
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: Lighthouse CI (angular) | |
on: pull_request | |
jobs: | |
lighthouse: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/[email protected] | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 8 | |
run_install: false | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
run: | | |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v3 | |
name: Setup pnpm cache | |
with: | |
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: run `pnpm i && pnpm build` | |
run: pnpm i && pnpm build | |
- name: Wait for the Netlify Preview | |
uses: jakepartusch/wait-for-netlify-action@v1 | |
id: netlify | |
with: | |
site_name: "automated-a11y-angular" | |
- name: Audit core URLs on DP | |
uses: treosh/lighthouse-ci-action@v10 | |
with: | |
urls: | | |
${{ steps.netlify.outputs.url }} | |
configPath: "./lighthouserc.json" | |
uploadArtifacts: true |