Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/chromatic-com/storyb…
Browse files Browse the repository at this point in the history
…ook-3.2.2
  • Loading branch information
FrancesCoronel authored Dec 1, 2024
2 parents 341b70e + b2a25b2 commit 6ac6c20
Show file tree
Hide file tree
Showing 5 changed files with 618 additions and 836 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,24 @@ on: push

# List of jobs
jobs:
chromatic-deployment:
chromatic:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
run: yarn
# 👇 Adds Chromatic as a step in the workflow
# ⚠️ See your package manager's documentation for the correct command to install dependencies in a CI environment.
run: npm ci
- name: Publish to Chromatic
uses: chromaui/action@v1
uses: chromaui/action@latest
# Chromatic GitHub Action options
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ next-env.d.ts

# Sentry Config File
.env.sentry-build-plugin

# Storybook
*storybook.log
Loading

0 comments on commit 6ac6c20

Please sign in to comment.