From fcf30440db41609a3381652dd13b162ba251614c Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Tue, 22 Oct 2024 11:31:45 +0800 Subject: [PATCH] ci: updated workflow --- .github/workflows/test-crawlab.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-crawlab.yml b/.github/workflows/test-crawlab.yml index 0d2b9e2..05e81bc 100644 --- a/.github/workflows/test-crawlab.yml +++ b/.github/workflows/test-crawlab.yml @@ -22,12 +22,12 @@ jobs: - uses: actions/setup-node@v4 with: node-version: lts/* + - name: Install pnpm + run: npm i -g pnpm@9 - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: pnpm install - name: Run Playwright tests - run: npx playwright test + run: pnpm playwright test - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: