Skip to content

Commit

Permalink
Merge branch 'main' into bl-support-asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonlenz authored Jan 6, 2025
2 parents c1041aa + 931d245 commit b581e34
Show file tree
Hide file tree
Showing 61 changed files with 27,679 additions and 26,814 deletions.
31 changes: 28 additions & 3 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@
"avatar_url": "https://avatars.githubusercontent.com/u/13249580?v=4",
"profile": "https://github.com/kimallen",
"contributions": [
"code"
"code",
"a11y"
]
},
{
Expand Down Expand Up @@ -232,7 +233,10 @@
"profile": "https://andyhub.com/",
"contributions": [
"code",
"doc"
"doc",
"maintenance",
"bug",
"a11y"
]
},
{
Expand All @@ -241,7 +245,8 @@
"avatar_url": "https://avatars.githubusercontent.com/u/371943?v=4",
"profile": "https://sawyer.soy",
"contributions": [
"code"
"code",
"bug"
]
},
{
Expand Down Expand Up @@ -318,8 +323,28 @@
"profile": "https://github.com/jpandersen87",
"contributions": [
"code",
"maintenance",
"infra"
]
},
{
"login": "crwallace",
"name": "Courtney Eimerman-Wallace",
"avatar_url": "https://avatars.githubusercontent.com/u/3453669?v=4",
"profile": "https://github.com/crwallace",
"contributions": [
"maintenance"
]
},
{
"login": "ocoutts-usds",
"name": "Owen Coutts",
"avatar_url": "https://avatars.githubusercontent.com/u/174364898?v=4",
"profile": "https://github.com/ocoutts-usds",
"contributions": [
"bug",
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
31 changes: 31 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,35 @@ updates:
- dependency-name: '@types/react-dom'
versions:
- '>=18.0.0'
- dependency-name: '@types/react-test-renderer'
versions:
- '>=18.0.0'
- dependency-name: 'uswds'
groups:
storybook:
patterns:
- 'storybook'
- '@storybook/*'
- 'happo-plugin-storybook'
testing-library:
patterns:
- 'testing-library/*'
eslint:
patterns:
- 'eslint'
- 'eslint-*'
typescript:
patterns:
- 'typescript'
- '@typescript-eslint*'
vite:
patterns:
- 'vite*'
- '@vitejs*'
- 'vitest'
- '@vitest*'
- '@laynezh/vite-plugin-lib-assets'
stylelint:
patterns:
- 'stylelint'
- 'stylelint-*'
39 changes: 13 additions & 26 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- '[1-9].*'
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
deploy-storybook:
runs-on: ubuntu-latest
Expand All @@ -15,36 +20,18 @@ jobs:
url: ${{ steps.build-publish.outputs.page_url }}
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install

- name: Build Storybook
run: yarn build-storybook
cache: 'yarn'

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
uses: bitovi/github-[email protected]
with:
clean: true
clean-exclude: |
CNAME
folder: storybook-static # The folder the action should deploy.
install_command: yarn install
build_command: yarn build-storybook
path: storybook-static
checkout: false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ _.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
doctor-storybook.log

# Runtime data

Expand Down
1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const config: StorybookConfig = {
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-mdx-gfm',
],
framework: {
name: '@storybook/react-vite',
Expand Down
Loading

0 comments on commit b581e34

Please sign in to comment.