Skip to content

Commit

Permalink
chore: performance.yml added
Browse files Browse the repository at this point in the history
  • Loading branch information
developaul committed Sep 14, 2024
1 parent ed88fbf commit 116468b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CI
on: [push]
jobs:
lighthouseci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install && npm install -g @lhci/[email protected]
- run: npm run build
- run: lhci autorun
Binary file modified bun.lockb
Binary file not shown.
7 changes: 7 additions & 0 deletions lighthouserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
ci: {
assert: {
preset: 'lighthouse:recommended',
},
},
};
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"knip": "knip"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.36",
Expand Down Expand Up @@ -36,14 +37,15 @@
},
"devDependencies": {
"@next/bundle-analyzer": "^14.2.8",
"@types/node": "^20",
"@types/node": "^22.5.5",
"@types/pdf-parse": "^1.1.4",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.3",
"knip": "^5.30.2",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
"typescript": "^5.6.2"
}
}

0 comments on commit 116468b

Please sign in to comment.