From da9a5e3dae4d78ada82efd17b47da6415ef263a1 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 10 Jul 2025 11:36:37 +0800 Subject: [PATCH] Use npm scripts instead of framework-specific commands --- .github/workflows/format-check.yml | 2 +- .github/workflows/playwright.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 33f61f25..e7872ee6 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -13,4 +13,4 @@ jobs: with: node-version: 20 - run: npm ci - - run: npx biome check + - run: npm run formatting-check diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 6d1bb790..d6a505a9 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -22,7 +22,7 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps webkit --only-shell - name: Run Playwright tests - run: npx playwright test + run: npm run test - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: