fix(ci): explicitly invoke bash in OneDev buildspec to ensure proper script execution
This commit is contained in:
parent
85de652fea
commit
130e47cf3f
1 changed files with 3 additions and 3 deletions
|
|
@ -46,9 +46,8 @@ jobs:
|
||||||
interpreter:
|
interpreter:
|
||||||
type: DefaultInterpreter
|
type: DefaultInterpreter
|
||||||
commands: |
|
commands: |
|
||||||
set -e
|
# OneDev exécute le script avec /bin/sh — lancer bash explicitement
|
||||||
set -o pipefail
|
bash -eo pipefail <<'EOS'
|
||||||
|
|
||||||
bash ci/setup-toolchain.sh
|
bash ci/setup-toolchain.sh
|
||||||
|
|
||||||
corepack enable
|
corepack enable
|
||||||
|
|
@ -62,6 +61,7 @@ jobs:
|
||||||
|
|
||||||
pnpm exec nx run-many -t build --parallel=2
|
pnpm exec nx run-many -t build --parallel=2
|
||||||
pnpm exec nx run-many -t test --parallel=2
|
pnpm exec nx run-many -t test --parallel=2
|
||||||
|
EOS
|
||||||
condition: SUCCESSFUL
|
condition: SUCCESSFUL
|
||||||
optional: false
|
optional: false
|
||||||
- type: PublishJUnitReportStep
|
- type: PublishJUnitReportStep
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue