Skip to content

Commit 1568516

Browse files
author
49513 - Diogo Rodrigues
committed
Changed CI for compilation and run tests
1 parent 2b5e936 commit 1568516

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,24 @@ jobs:
3737
node-version: ${{ matrix.node-version }}
3838
cache: "npm"
3939

40+
- name: Check Client Lock File
41+
run: ls -la ./code/
42+
4043
- name: Install Client Dependencies
41-
run: cd ./code/ && npm install
44+
run: npm install
45+
working-directory: ./code/
46+
47+
- name: Check Client Lock File
48+
run: ls -la ./code/services/ethereum/
4249

4350
- name: Install Services Dependencies
44-
run: cd ./code/services/ethereum && npm install
51+
run: npm install
52+
working-directory: ./code/services/ethereum/
4553

4654
- name: Build code directory
47-
run: cd ./code/ && npm run build --if-present
55+
run: npm run build --if-present
56+
working-directory: ./code/
4857

49-
- name: Test code directory
50-
run: cd ./code/ && npx hardhat test
58+
- name: Test Service Functions and Contracts
59+
run: npx hardhat test
60+
working-directory: ./code/services/ethereum/

0 commit comments

Comments
 (0)