Skip to content

Commit

Permalink
chore: add stories for elements v1 (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Oct 16, 2024
1 parent dcdb6fb commit 37fe08d
Show file tree
Hide file tree
Showing 89 changed files with 16,889 additions and 2,299 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ jobs:
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true
workingDir: packages/legacy-stories
storybookBuildDir: storybook-static
- uses: chromaui/[email protected]
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_ELEMENTS_REACT }}
exitOnceUploaded: true
workingDir: packages/elements-react-stories
storybookBuildDir: storybook-static

- name: Upload results to Codecov
uses: codecov/codecov-action@v4
Expand Down
38 changes: 0 additions & 38 deletions .storybook/main.js

This file was deleted.

3 changes: 0 additions & 3 deletions .storybook/preview-head.html

This file was deleted.

20 changes: 18 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "dev", "preview"]
"cacheableOperations": ["build", "dev", "preview", "build-storybook"]
}
}
},
Expand Down Expand Up @@ -45,6 +45,22 @@
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/storybook/plugin",
"options": {
"serveStorybookTargetName": "storybook",
"buildStorybookTargetName": "build",
"testStorybookTargetName": "test-storybook",
"staticStorybookTargetName": "static-storybook"
}
}
],
"generators": {
"@nx/react": {
"library": {
"unitTestRunner": "none"
}
}
]
}
}
Loading

0 comments on commit 37fe08d

Please sign in to comment.