diff --git a/.github/actions/run-e2e-tests/script.sh b/.github/actions/run-e2e-tests/script.sh index ac30edcd..373fab83 100755 --- a/.github/actions/run-e2e-tests/script.sh +++ b/.github/actions/run-e2e-tests/script.sh @@ -5,5 +5,5 @@ fi opts=($DB_OPTIONS) -yarn run -s test:generate-app "${opts[@]}" $@ -yarn run -s test:e2e +yarn run --silent test:generate-app "${opts[@]}" $@ +yarn run --silent test:e2e diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aadd208a..fb1cabe3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }} - run: yarn install --frozen-lockfile - name: Run lint - run: yarn run -s lint + run: yarn run --silent lint unit_back: name: 'unit_back (node: ${{ matrix.node }})' @@ -58,7 +58,7 @@ jobs: - run: yarn install --frozen-lockfile - name: Run tests - run: yarn run -s test:unit --coverage + run: yarn run --silent test:unit --coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: @@ -88,7 +88,7 @@ jobs: - name: Build run: yarn build - name: Run test - run: yarn run -s test:front:ce --coverage + run: yarn run --silent test:front:ce --coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: diff --git a/packages/strapi/lib/commands/develop.js b/packages/strapi/lib/commands/develop.js index cb2d5b24..2c200939 100644 --- a/packages/strapi/lib/commands/develop.js +++ b/packages/strapi/lib/commands/develop.js @@ -25,7 +25,7 @@ module.exports = async function ({ build, watchAdmin, polling, browser }) { // Don't run the build process if the admin is in watch mode if (build && !watchAdmin && serveAdminPanel && !buildExists) { try { - execa.shellSync('npm run -s build -- --no-optimization', { + execa.shellSync('npm run --silent build -- --no-optimization', { stdio: 'inherit', }); } catch (err) {