Skip to content

Commit

Permalink
ci: check typechain-types is up-to-date (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Jul 26, 2023
1 parent 294e81b commit 3da6ff6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generated Go Packages are Updated
name: Generated Files are Updated
on:
pull_request:
branches:
Expand Down Expand Up @@ -32,6 +32,10 @@ jobs:
run: |
yarn generate:go
- name: Compile contracts
run: |
yarn compile
- name: Check for changes
run: |
git diff --exit-code --ignore-space-change --ignore-all-space --ignore-cr-at-eol -- pkg
git diff --exit-code --ignore-space-change --ignore-all-space --ignore-cr-at-eol -- pkg typechain-types
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"scripts": {
"build": "yarn clean && yarn compile && npx del-cli dist abi && tsc || exit 0 && npx del-cli './dist/typechain-types/**/*.js' && npx cpx './data/**/*' dist/data && npx cpx './artifacts/contracts/**/*' ./abi && npx del-cli './abi/**/*.dbg.json'",
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"compile": "yarn clean && npx hardhat compile",
"generate:go": "yarn compile && ./scripts/generate_go.sh",
"generate:interfaces": "yarn clean && yarn compile",
"lint": "npx eslint . --ext .js,.ts",
Expand Down

0 comments on commit 3da6ff6

Please sign in to comment.