File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 23
23
run : yarn lint
24
24
- name : Test
25
25
run : yarn test
26
- - name : Build
27
- run : yarn build
26
+ - name : Build project
27
+ run : yarn build:contracts & yarn build:src
28
28
- name : Release
29
29
env :
30
30
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 95
95
"@openzeppelin/contracts" : " ^4.8.3"
96
96
},
97
97
"scripts" : {
98
- "clean " : " rm -rf ./lib && hardhat clean " ,
99
- "build" : " yarn clean && hardhat compile && tsc -p ./tsconfig.build.json" ,
98
+ "build:contracts " : " hardhat clean && hardhat compile && tsc -p ./tsconfig.build.json " ,
99
+ "build:src " : " rm -rf ./lib && tsc -p ./tsconfig.build.json" ,
100
100
"test:contracts" : " hardhat test" ,
101
101
"test:src" : " mocha -t 60000 --extension spec.ts test/src" ,
102
102
"lint" : " solhint . && eslint --ext .ts" ,
103
103
"lint:fix" : " eslint --ext .ts --fix && solhint --fix . && prettier --check !network --write ." ,
104
104
"coverage" : " npx hardhat coverage" ,
105
105
"prepare" : " husky install" ,
106
- "commit" : " git-cz -S" ,
107
- "postinstall" : " yarn build"
106
+ "commit" : " git-cz -S"
108
107
}
109
108
}
You can’t perform that action at this time.
0 commit comments