Skip to content

LF-3443 modify workflow to run with yarn to troubleshoot test flakiness #12

LF-3443 modify workflow to run with yarn to troubleshoot test flakiness

LF-3443 modify workflow to run with yarn to troubleshoot test flakiness #12

name: "Storybook Tests"
on: push
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.16.1"
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install dependencies
working-directory: packages/webapp
run: pnpm install
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && yarn test-storybook"