Skip to content

Commit 11e13f5

Browse files
committed
Replace npm by yarn
1 parent af25740 commit 11e13f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/externalTests/gp2.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ BINARY_TYPE="$1"
3131
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

34-
function compile_fn { npm run build; }
35-
function test_fn { npm test; }
34+
function compile_fn { yarn run build; }
35+
function test_fn { yarn test; }
3636

3737
function gp2_test
3838
{
39-
local repo="https://github.com/gnosis/gp-v2-contracts.git"
39+
local repo="https://github.com/cowprotocol/contracts.git"
4040
local ref_type=branch
4141
local ref=main
4242
local config_file="hardhat.config.ts"
@@ -67,11 +67,11 @@ function gp2_test
6767
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"
6868
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")" "$config_var"
6969
force_hardhat_unlimited_contract_size "$config_file" "$config_var"
70-
npm install
70+
yarn
7171

7272
# New hardhat release breaks GP2 tests, and since GP2 repository has been archived, we are pinning hardhat
7373
# to the previous stable version. See https://github.com/ethereum/solidity/pull/13485
74-
npm install [email protected]
74+
7575

7676
# Some dependencies come with pre-built artifacts. We want to build from scratch.
7777
rm -r node_modules/@gnosis.pm/safe-contracts/build/

0 commit comments

Comments
 (0)