Skip to content

Commit

Permalink
ci: fix lint and lighthouse (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js authored Jul 21, 2023
1 parent 046ad67 commit 1255b8d
Show file tree
Hide file tree
Showing 8 changed files with 561 additions and 114 deletions.
5 changes: 3 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ updates:
- "@types/react*"
storybook-group:
patterns:
- "@storybook"
- "storybook"
- "@storybook/*"
eslint-group:
patterns:
- "eslint"
- "eslint*"
- "eslint-*"
- "@typescript-eslint/*"
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version: 18
cache: 'npm'
- run: npm ci && npm install -g @lhci/cli@0.11.x
- run: npm ci && npm install -g @lhci/cli@0.12.x
- run: npm run build
- run: lhci autorun
env:
Expand Down
2 changes: 1 addition & 1 deletion lighthouserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:
isSinglePageApplication: true
assert:
assertions:
'categories:performance': ['error', {'minScore': 0.87}]
'categories:performance': ['error', {'minScore': 0.83}]
'categories:accessibility': ['error', {'minScore': 0.97}]
'categories:best-practices': ['error', {'minScore': 0.92}]
'categories:pwa': ['off']
Expand Down
Loading

0 comments on commit 1255b8d

Please sign in to comment.