Skip to content

Commit

Permalink
Merge pull request #94 from threshold-network/expand-npm-job-triggers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nkuba authored Apr 25, 2022
2 parents 9f41818 + 8cf90f5 commit 55ed55f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
paths:
- "contracts/**"
- "deploy/**"
- "hardhat.config.ts"
- "package.json"
- "yarn.lock"
workflow_dispatch:
Expand Down

0 comments on commit 55ed55f

Please sign in to comment.