Skip to content

Commit

Permalink
Add pnpm action-steup line
Browse files Browse the repository at this point in the history
  • Loading branch information
melvin-chen committed Feb 26, 2024
1 parent a910126 commit 8225b60
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/storybook-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
run: pnpm install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Storybook
run: yarn build:storybook --quiet
run: pnpm 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 && yarn test:storybook"
"npx wait-on tcp:6006 && pnpm test:storybook"

0 comments on commit 8225b60

Please sign in to comment.