From 8225b60672993e9256467cfe459e0411f62414cd Mon Sep 17 00:00:00 2001 From: Melvin Chen Date: Mon, 26 Feb 2024 12:19:41 -0800 Subject: [PATCH] Add pnpm action-steup line --- .github/workflows/storybook-tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/storybook-tests.yml b/.github/workflows/storybook-tests.yml index 3ac6e580..0fcf6dc1 100644 --- a/.github/workflows/storybook-tests.yml +++ b/.github/workflows/storybook-tests.yml @@ -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"