Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@

name: "Chromatic"

on: push
on:
push:
paths:
- 'packages/ui-components/**'
- 'packages/shared/**'
- 'packages/blocks/framework/**'
- 'package-lock.json'

jobs:
chromatic:
runs-on: ubuntu-latest
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
NODE_OPTIONS: --max-old-space-size=4096
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this is to avoid an OOM issue unrelated to this ticket.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, I had it in the other repo

steps:
- name: Checkout code
uses: actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_modules
/tmp
/.nx
/cache
/packages/ui-components/storybook-static


#############################################
Expand Down
1 change: 1 addition & 0 deletions chromatic.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://www.chromatic.com/config-file.schema.json",
"projectId": "Project:6728aed37d68c35c74121f66",
"storybookBaseDir": "packages/ui-components",
"zip": true,
"exitZeroOnChanges": true,
"exitOnceUploaded": true,
Expand Down
Loading