Skip to content

Commit

Permalink
fix(CI/CD): AG-45 added set -e parameter to workflow
Browse files Browse the repository at this point in the history
added the set -e parameter to workflow steps
  • Loading branch information
g3k0 committed Apr 17, 2024
1 parent d1d6fdf commit 6082079
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6082079

Please sign in to comment.