Skip to content

Commit

Permalink
fix: chromatic deployment using actions
Browse files Browse the repository at this point in the history
  • Loading branch information
samshara committed Jun 18, 2024
1 parent 9038fd8 commit d46522b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
name: 'Chromatic Publish'

# NOTE: we should change this once project/playwright is merged to develop
on:
push:
branches:
- project/storybook

jobs:
test:
chromatic:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/go-ui-storybook
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'yarn'
- run: yarn
#👇 Adds Chromatic as a step in the workflow
Expand Down

0 comments on commit d46522b

Please sign in to comment.