Skip to content

Commit 55ed55f

Browse files
authored
Merge pull request #94 from threshold-network/expand-npm-job-triggers
Expand NPM workflow triggers We want to publish the new NPM package tagged with `develop` every time changes affecting contracts get merged to `main`. We already trigger the workflow when changes are applied in - `"contracts/**"` - `"package.json"` - `"yarn.lock"` but it also makes sense to trigger the workflow when there are changes in - `"deploy/**"` - `"hardhat.config.ts"` as they also can affect the content of the exported package with the contracts.
2 parents 9f41818 + 8cf90f5 commit 55ed55f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/npm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main
77
paths:
88
- "contracts/**"
9+
- "deploy/**"
10+
- "hardhat.config.ts"
911
- "package.json"
1012
- "yarn.lock"
1113
workflow_dispatch:

0 commit comments

Comments
 (0)