Skip to content

Commit 3fa5a74

Browse files
committed
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.
1 parent 4d7d527 commit 3fa5a74

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)