Skip to content

Commit

Permalink
refactor: update components.json step to run at build time (#3479)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
  • Loading branch information
joshblack and joshblack authored Jul 5, 2023
1 parent 73fe453 commit 70cc227
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5,391 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
shard: [1, 2]
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
shard: [1, 2]
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
token: ${{ steps.generate_token.outputs.token }}
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
Expand All @@ -265,9 +265,6 @@ jobs:
run: npm ci
- name: Build components.json
run: npm run build:components.json
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Update generated/components.json'

sizes:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ stats.html
.env
storybook-static
.tool-versions
/generated
Loading

0 comments on commit 70cc227

Please sign in to comment.