Skip to content

Commit

Permalink
Changed CI for compilation and run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
49513 - Diogo Rodrigues committed Jul 16, 2024
1 parent f4236bc commit 2b5e936
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,14 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Install dependencies
run: |
npm install
cd services/ethereum
npm install
working-directory: ../code
- name: Install Client Dependencies
run: cd ./code/ && npm install

- name: Install Services Dependencies
run: cd ./code/services/ethereum && npm install

- name: Build code directory
run: npm run build --if-present
working-directory: ../code
run: cd ./code/ && npm run build --if-present

- name: Test code directory
run: npx hardhat test
working-directory: ../code/services/ethereum/test
run: cd ./code/ && npx hardhat test

0 comments on commit 2b5e936

Please sign in to comment.