Skip to content

fix(CI/CD): AG-45 added set -e parameter to workflow #74

fix(CI/CD): AG-45 added set -e parameter to workflow

fix(CI/CD): AG-45 added set -e parameter to workflow #74

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- develop
jobs:
codeQuality:
runs-on: ubuntu-latest
env:
ALCHEMY_PRIVATE_KEY: ${{ secrets.ALCHEMY_PRIVATE_KEY }}
SEPOLIA_URL: ${{ secrets.SEPOLIA_URL }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Install dependencies
run: |
set -e
node ci --function installDeps
- name: Run linter
run: |
set -e
node ci --function lint
- name: Run duplications check
run: |
set -e
node ci --function checksDuplications
- name: Run smart contracts unit tests
run: |
set -e
node ci --function smartContractsUnitTest
- name: Run scripts unit tests
run: |
set -e
node ci --function scriptsUnitTest