Skip to content

Commit

Permalink
#5 lighthouse github action
Browse files Browse the repository at this point in the history
  • Loading branch information
RossellaFer committed Apr 23, 2024
1 parent 84739e6 commit 9883d14
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lighthouse-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on: [push]
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: npm install, build
run: |
npm install
npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/[email protected]
lhci autorun

0 comments on commit 9883d14

Please sign in to comment.