[ci] Minor quick-checks updates (#215856)

## Summary
1 - `node scripts/prettier_topology_check` occasionally breaks with
`.gitignore` not being available, it's required for a globby call.
(https://buildkite.com/elastic/kibana-on-merge/builds/64944#0195c874-c2b0-436c-9752-91a6118dde9d)

2 - some scripts are run together by `yarn kbn run-in-packages` - this
script only logs AFTER a script finished successfully; when a script
like this fails, the failing script is not logged. This change logs
before to see what the error is. (ref:
https://elastic.slack.com/archives/C5UDAFZQU/p1742824259264329)
This commit is contained in:
Alex Szabo 2025-04-08 09:26:14 +02:00 committed by GitHub
parent 854bfc4964
commit 08c5f0799d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5,4 +5,4 @@ set -euo pipefail
source .buildkite/scripts/common/util.sh
echo --- Check Prettier Configuration Topology
node scripts/prettier_topology_check
retry 3 3 node scripts/prettier_topology_check

View file

@ -53,7 +53,7 @@ export const command = {
continue;
}
log.debug(
log.info(
`running [${scriptName}] script in [${pkg.name}]`,
scriptArgs.length ? `with args [${scriptArgs.join(' ')}]` : ''
);