Skip to content

Commit

Permalink
use pnpm in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p5quared committed Jul 16, 2024
1 parent 48d5360 commit d47410d
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ jobs:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: 16.x
- name: npm install, build
version: 9
- uses: actions/setup-node@v4
with:
node-version: latest
cache: 'pnpm'
- name: install, build
run: |
npm install
npm run build
pnpm i
pnpm build
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.14.x
pnpm install -g @lhci/cli@0.14.x
lhci autorun

0 comments on commit d47410d

Please sign in to comment.