Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 75aa1cb

Browse files
committedDec 7, 2021
Try no sudo to avoid npm/cli#624
1 parent 80175ee commit 75aa1cb

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed
 

‎.github/workflows/build-test.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -356,11 +356,7 @@ jobs:
356356
pip install -r requirements.txt
357357

358358
# Install SDPoker
359-
if [[ "${{ matrix.os }}" == "windows-latest" || "$EUID" == "0" ]]; then
360-
npm install -g git+https://git@github.com/AMWA-TV/sdpoker.git
361-
else
362-
sudo npm install -g git+https://git@github.com/AMWA-TV/sdpoker.git
363-
fi
359+
npm install -g git+https://git@github.com/AMWA-TV/sdpoker.git
364360
run_python="python"
365361
fi
366362
pip install -r utilities/run-test-suites/gsheetsImport/requirements.txt
@@ -759,11 +755,7 @@ jobs:
759755
pip install -r requirements.txt
760756

761757
# Install SDPoker
762-
if [[ "${{ matrix.os }}" == "windows-latest" || "$EUID" == "0" ]]; then
763-
npm install -g git+https://git@github.com/AMWA-TV/sdpoker.git
764-
else
765-
sudo npm install -g git+https://git@github.com/AMWA-TV/sdpoker.git
766-
fi
758+
npm install -g git+https://git@github.com/AMWA-TV/sdpoker.git
767759
run_python="python"
768760
fi
769761
pip install -r utilities/run-test-suites/gsheetsImport/requirements.txt

0 commit comments

Comments
 (0)
Please sign in to comment.