Skip to content

Commit

Permalink
chore: small performance setup cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmaynes committed Dec 28, 2023
1 parent 9aed4bd commit 54e196e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version-file: ".node-version"
- name: 🔨 Install Dependencies 🔨
run: sudo apt-get update && sudo apt-get install make
- name: 🚀 Deploy Website 🚀
- name: 🚀 Deploy 🚀
run: make deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
6 changes: 4 additions & 2 deletions lighthouserc.js
@@ -1,7 +1,9 @@
module.exports = {
ci: {
collect: {
staticDistDir: "./public",
startServerCommand: "npm run start",
url: "http://localhost:9900",
startServerReadyTimeout: 60 * 5, // 5 minutes
numberOfRuns: 1,
},
assert: {
Expand All @@ -10,7 +12,7 @@ module.exports = {
"bf-cache": "off",
"csp-xss": "off",
"uses-long-cache-ttl": "off",
"total-byte-weight": "off"
"total-byte-weight": "off",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "webpack",
"dev": "webpack serve",
"start": "serve -p 9900 --no-request-logging public/",
"start": "npm run build && serve -p 9900 --no-request-logging public/",
"lighthouse": "lhci autorun",
"lint:pug": "prettier --write 'src/**/*.pug' --plugin='@prettier/plugin-pug'",
"lint:js": "prettier --write 'src/**/*.js' '*.js'",
Expand Down

0 comments on commit 54e196e

Please sign in to comment.