From 6c0f49469472d41c3ce87fe67a28a71bf7d7054c Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Fri, 22 Nov 2019 18:12:05 +1100 Subject: [PATCH] Add sudo to CI npm install --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8999c95d38..18ddaf693b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Install ganache-cli - run: npm install -g ganache-cli + run: sudo npm install -g ganache-cli - name: Run release tests run: cargo test --release --all debug-tests-ubuntu: @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Install ganache-cli - run: npm install -g ganache-cli + run: sudo npm install -g ganache-cli - name: Run debug tests & check formatting run: cargo test --all - name: Check formatting with cargo fmt