fix: add version number to the flow model #234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Storybook Tests' | |
on: | |
push: | |
branches: [main, canary] | |
pull_request: | |
branches: [main, canary] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [19.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn | |
- name: Build SDK | |
run: yarn run turbo build | |
- name: Install Playwright | |
working-directory: ./apps/smithy | |
run: npx playwright install --with-deps | |
- name: Build Storybook | |
working-directory: ./apps/smithy | |
run: yarn build-storybook --quiet | |
- uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 10 | |
max_attempts: 3 | |
command: | | |
cd ./apps/smithy; \ | |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ | |
"npx http-server storybook-static --port 6006 --silent" \ | |
"npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook" |