Skip to content

Commit 968d7c6

Browse files
committed
Try to fix nvm in CI? (7)
1 parent 1f4594c commit 968d7c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/nomiclabs.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ cd ..
6969
npm install -g yarn
7070
git clone https://github.com/cgewecke/template-ethereum-contracts.git
7171
cd template-ethereum-contracts
72-
yarn
73-
yarn add $PR_PATH --dev
72+
sudo yarn
73+
sudo yarn add $PR_PATH --dev
7474
cat package.json
7575

7676
# Here we want to make sure that HH cache triggers a
7777
# complete recompile after coverage runs by verifying
7878
# that gas consumption is same in both runs.
79-
yarn run gas
80-
yarn run coverage
81-
yarn run gas
79+
sudo yarn run gas
80+
sudo yarn run coverage
81+
sudo yarn run gas
8282

8383
verifyCoverageExists

0 commit comments

Comments
 (0)