Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
fix: ci hopefully works
Browse files Browse the repository at this point in the history
  • Loading branch information
IncognitoTGT committed Feb 1, 2024
1 parent 35f42ac commit 317bff0
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
name: CI
on: [push]
name: Lighthouse CI
on:
push:
jobs:
lighthouseci:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
with:
version: 8
- run: pnpm install
- run: npm install -g pnpm && pnpm setup && pnpm install && pnpm install -g @lhci/[email protected]
- run: pnpm run build
- run: lhci autorun
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install && pnpm install -g @lhci/[email protected]
- name: Run build
run: pnpm run build
- name: Run Lighthouse CI
run: lhci autorun

0 comments on commit 317bff0

Please sign in to comment.