Skip to content

Commit

Permalink
fix: add storybook check to ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Jun 1, 2023
1 parent f007829 commit 502f8db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ jobs:

- name: Jest tests
run: npx jest --silent --shard=${{ fromJSON(matrix.chunk) }}/${{ strategy.job-total }} --max-workers ${{ steps.cpu-cores.outputs.count }}

storybookTests:
if: ${{ github.actor != 'OSBotify' || github.event_name == 'workflow_call' }}
runs-on: ubuntu-latest
name: Storybook tests
steps:
- uses: actions/checkout@885641592076c27bfb56c028cd5612cdad63e16d
- uses: Expensify/App/.github/actions/composite/setupNode@main
- name: Storybook run
run: npm run storybook -- --smoke-test --ci

shellTests:
if: ${{ github.actor != 'OSBotify' || github.event_name == 'workflow_call' }}
Expand Down

0 comments on commit 502f8db

Please sign in to comment.