Skip to content

Commit 61b2e45

Browse files
Merge pull request #116 from threshold-network/upgrade-exact
Use upgrade --exact for NPM package publication We want to add `--exact` flag so the version of tagged package is resolved to an exact value. Without this flag by default the version is resolved by adding `^`, which can cause problems when resolving versions with `-dev`, `-goerli`, `-mainnet` suffixes.
2 parents 4d7d527 + 3fa5a74 commit 61b2e45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626

2727
- name: Resolve latest contracts
2828
run: |
29-
yarn upgrade @keep-network/keep-core
29+
yarn upgrade --exact \
30+
@keep-network/keep-core
3031
3132
# Deploy contracts to a local network to generate deployment artifacts that
3233
# are required by dashboard compilation.

0 commit comments

Comments
 (0)