From 60820797b5c07457b29eb8c3207abd38b67cbfcb Mon Sep 17 00:00:00 2001 From: Christian Palazzo Date: Wed, 17 Apr 2024 22:17:03 +0200 Subject: [PATCH] fix(CI/CD): AG-45 added set -e parameter to workflow added the set -e parameter to workflow steps --- .github/workflows/main.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9bb198..e45b234 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,16 +24,26 @@ jobs: node-version: 20.x - name: Install dependencies - run: node ci --function installDeps + run: | + set -e + node ci --function installDeps - name: Run linter - run: node ci --function lint + run: | + set -e + node ci --function lint - name: Run duplications check - run: node ci --function checksDuplications + run: | + set -e + node ci --function checksDuplications - name: Run smart contracts unit tests - run: node ci --function smartContractsUnitTest + run: | + set -e + node ci --function smartContractsUnitTest - name: Run scripts unit tests - run: node ci --function scriptsUnitTest + run: | + set -e + node ci --function scriptsUnitTest