Skip to content

Commit

Permalink
Publish Storybook and set up auto deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
paola4 committed Apr 26, 2024
1 parent cb23c25 commit 045ee0e
Show file tree
Hide file tree
Showing 88 changed files with 3,206 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Workflow name
name: 'Chromatic Publish'

# Event for the workflow
on: push

# List of jobs
jobs:
test:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
# Options required for Chromatic's GitHub Action
with:
#👇 Chromatic projectToken,
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"format": "prettier --check --ignore-path .gitignore .",
"format:fix": "prettier --write --ignore-path .gitignore .",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"chromatic": "npx chromatic --project-token=chpt_9f48cc95a6ef287"
},
"dependencies": {
"firebase": "^10.11.0",
Expand All @@ -31,6 +32,7 @@
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"chromatic": "^11.3.0",
"eslint": "^8",
"eslint-config-next": "14.2.1",
"eslint-config-prettier": "^9.1.0",
Expand Down
1 change: 1 addition & 0 deletions storybook-static/260.88344196.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions storybook-static/294.eac58815.iframe.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions storybook-static/414.01af4cfd.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions storybook-static/62.4adf4987.iframe.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions storybook-static/726.a0ad2bef.iframe.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 95 additions & 0 deletions storybook-static/797.ce577b2b.iframe.bundle.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions storybook-static/797.ce577b2b.iframe.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/**
* @license
* Lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
1 change: 1 addition & 0 deletions storybook-static/797.ce577b2b.iframe.bundle.js.map

Large diffs are not rendered by default.

405 changes: 405 additions & 0 deletions storybook-static/85.02b31fbf.iframe.bundle.js

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions storybook-static/85.02b31fbf.iframe.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions storybook-static/85.02b31fbf.iframe.bundle.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions storybook-static/908.2b9b00c3.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions storybook-static/981.bf4bfac3.iframe.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions storybook-static/Button-stories.d9191879.iframe.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions storybook-static/Configure-mdx.c95c0be4.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions storybook-static/Header-stories.7f34524f.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions storybook-static/Page-stories.14889594.iframe.bundle.js

Large diffs are not rendered by default.

Loading

0 comments on commit 045ee0e

Please sign in to comment.