Skip to content

Commit

Permalink
Use all yarn commands for storybook-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
melvin-chen committed Feb 26, 2024
1 parent 83c8a14 commit a910126
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/storybook-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: pnpm install
run: yarn install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Storybook
run: pnpm build:storybook --quiet
run: yarn build:storybook --quiet
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server packages/nuka/storybook-static --port 6006" \
"npx wait-on tcp:6006 && pnpm test:storybook"
"npx wait-on tcp:6006 && yarn test:storybook"

0 comments on commit a910126

Please sign in to comment.