Skip to content

Commit

Permalink
Fix storybook builds in github actions (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
clauderic committed Nov 6, 2023
1 parent c500a9d commit 62b3446
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ name: 'Chromatic'
on: [push]

jobs:
test:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: yarn
- uses: chromaui/action@v1
- name: Specify Node Version
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: yarn
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Specify Node Version
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cypress run
uses: cypress-io/github-action@v2
with:
Expand Down

0 comments on commit 62b3446

Please sign in to comment.