From 565d03da431f7998535f05d2c2d9eadc14373551 Mon Sep 17 00:00:00 2001 From: chan Date: Fri, 15 May 2026 13:36:55 +0900 Subject: [PATCH] fix(ci): use pnpm instead of npm to run playwright tests --- .gitea/workflows/code_check.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/code_check.yml b/.gitea/workflows/code_check.yml index 0af06179..28568602 100644 --- a/.gitea/workflows/code_check.yml +++ b/.gitea/workflows/code_check.yml @@ -450,7 +450,7 @@ jobs: mkdir -p reports set +e cd userfront-e2e - npm test 2>&1 | tee ../reports/userfront-e2e-test.log + pnpm run test 2>&1 | tee ../reports/userfront-e2e-test.log test_exit_code=${PIPESTATUS[0]} cd .. set -e @@ -468,7 +468,7 @@ jobs: echo "2. \`npm ci\`" echo "3. \`cd ../userfront && flutter build web --wasm --release\`" echo "4. \`cd ../userfront-e2e && npx playwright install --with-deps chromium\`" - echo "5. \`npm test\`" + echo "5. \`pnpm run test\`" echo echo "## Log Tail (last 200 lines)" echo '```text' @@ -735,7 +735,7 @@ jobs: mkdir -p reports set +e cd devfront - npm test 2>&1 | tee ../reports/devfront-test.log + pnpm run test 2>&1 | tee ../reports/devfront-test.log test_exit_code=${PIPESTATUS[0]} cd .. set -e @@ -752,7 +752,7 @@ jobs: echo "1. \`cd devfront\`" echo "2. \`npm ci\`" echo "3. \`npx playwright install --with-deps\`" - echo "4. \`npm test\`" + echo "4. \`pnpm run test\`" echo echo "## Log Tail (last 200 lines)" echo '```text' @@ -917,7 +917,7 @@ jobs: mkdir -p reports set +e cd orgfront - npm test 2>&1 | tee ../reports/orgfront-test.log + pnpm run test 2>&1 | tee ../reports/orgfront-test.log test_exit_code=${PIPESTATUS[0]} cd .. set -e @@ -934,7 +934,7 @@ jobs: echo "1. \`cd orgfront\`" echo "2. \`npm ci\`" echo "3. \`npx playwright install --with-deps\`" - echo "4. \`npm test\`" + echo "4. \`pnpm run test\`" echo echo "## Log Tail (last 200 lines)" echo '```text'