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 2323 run : yarn lint
2424 - name : Test
2525 run : yarn test
26- - name : Build
27- run : yarn build
26+ - name : Build project
27+ run : yarn build:contracts & yarn build:src
2828 - name : Release
2929 env :
3030 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 9595 "@openzeppelin/contracts" : " ^4.8.3"
9696 },
9797 "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" ,
100100 "test:contracts" : " hardhat test" ,
101101 "test:src" : " mocha -t 60000 --extension spec.ts test/src" ,
102102 "lint" : " solhint . && eslint --ext .ts" ,
103103 "lint:fix" : " eslint --ext .ts --fix && solhint --fix . && prettier --check !network --write ." ,
104104 "coverage" : " npx hardhat coverage" ,
105105 "prepare" : " husky install" ,
106- "commit" : " git-cz -S" ,
107- "postinstall" : " yarn build"
106+ "commit" : " git-cz -S"
108107 }
109108}
You can’t perform that action at this time.
0 commit comments