Skip to content

Commit

Permalink
Test stricter CI build
Browse files Browse the repository at this point in the history
Run more checks as part of CI
  • Loading branch information
osmestad committed Dec 17, 2024
1 parent f633726 commit 24464aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- name: npm install and test
run: |
npm ci --force
npm run type-check
npm run lint -- --quiet
npm test
env:
CI: true
1 change: 1 addition & 0 deletions rule-sets/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const baseRuleSet = {
'no-only-tests': noOnlyTestsPlugin,
perfectionist,
prettier,
// @ts-expect-error plugin does not quite match expected type?
react,
'react-hooks': reactHooks,
},
Expand Down
1 change: 1 addition & 0 deletions rule-sets/storybook.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import storybook from 'eslint-plugin-storybook';
export const storybookRuleSet = {
files: ['.storybook/*', '**/*.story.tsx'],
plugins: {
// @ts-expect-error plugin does not quite match expected type?
storybook,
},
rules: {
Expand Down

0 comments on commit 24464aa

Please sign in to comment.