Skip to content

Commit

Permalink
chore: global nav prep / cleanup (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-dickman committed Feb 14, 2024
1 parent 996bfff commit e740410
Show file tree
Hide file tree
Showing 26 changed files with 1,696 additions and 821 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
plugins: ['react', 'react-hooks'],
ignorePatterns: ['.eslintrc.js'],
rules: {
semi: 'off',
'@typescript-eslint/explicit-function-return-type': [
'warn',
{
Expand Down Expand Up @@ -81,6 +82,7 @@ module.exports = {
'Message',
'LoadingModal',
'Flex',
'Center',
'Space',
'Layout',
'Grid',
Expand All @@ -99,7 +101,7 @@ module.exports = {
],
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true }],
'@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
'react/react-in-jsx-scope': 'off',
'import/no-duplicates': 'off',
},
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
with:
fetch-depth: 0

- run: npm ci
- name: Install Dependencies
run: npm ci

- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4

- name: Install dependencies
- name: Install Dependencies
run: npm ci

- name: Build dist
Expand All @@ -55,4 +55,4 @@ jobs:
if: failure()
with:
name: npm-logs
path: ~/.npm/_logs
path: ~/.npm/_logs
5 changes: 3 additions & 2 deletions .github/workflows/storybook-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
- name: Setup Node.js
uses: actions/setup-node@v4

- name: Install Dependencies
run: npm ci
Expand All @@ -17,4 +18,4 @@ jobs:
run: npx playwright install

- name: Run Storybook Tests
run: npm run test-storybook:ci
run: npm run test-storybook:ci
5 changes: 3 additions & 2 deletions .github/workflows/tokens-to-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4

- name: Setup Node.js
uses: actions/setup-node@v4

- name: Run tokens-to-css
run: npm run tokens-to-css

Expand Down
Loading

0 comments on commit e740410

Please sign in to comment.