Skip to content

Commit

Permalink
feat: chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelxsilva committed Feb 7, 2024
1 parent 432eed3 commit b978198
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/storybook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,17 @@ jobs:
user-flow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn
- name: Run Test
run: yarn storybook:test
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: "main"
buildScriptName: "storybook:chromatic"
env:
CI: true

0 comments on commit b978198

Please sign in to comment.