Skip to content

Commit

Permalink
Deploying on chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
vrundakansara committed Sep 4, 2024
1 parent 41c7716 commit 3661c88
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 6 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Chromatic"

on:
push:
branches:
- "storybook-setup"

jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
run: npm install
- name: Run Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
onlyChanged: true # 👈 Required option to enable TurboSnap
2 changes: 1 addition & 1 deletion dist/force-ui-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/force-ui.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom'), 'version' => 'cf2bd2027c6661891dbd');
<?php return array('dependencies' => array('react', 'react-dom'), 'version' => '5685fb1bdd595e9f4a65');
2 changes: 1 addition & 1 deletion dist/force-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/force-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/utils/withTW.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'e0b59ef1b652ea401238');
<?php return array('dependencies' => array(), 'version' => 'b2544125e1436693feb4');
2 changes: 1 addition & 1 deletion dist/utils/withTW.js

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

0 comments on commit 3661c88

Please sign in to comment.