We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4e45e commit 4a48889Copy full SHA for 4a48889
.github/workflows/test-installers.yml
@@ -91,9 +91,8 @@ jobs:
91
# Add a non-admin sudoer user and switch to it
92
adduser compass
93
echo "compass ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
94
- # Make sure the compass user has write access to the workspace
95
- chown -R compass:compass $HOME
96
- ls -la $HOME
+ # Make sure the compass user has write access to the home and workspace
+ chown -R compass:compass $HOME/.npm $PWD
97
# Use a shell which switch to the non-root compass user first
98
# Using --preserve-env and --preserve-env=PATH to propagate environment variables
99
shell: sudo --preserve-env=HOME --preserve-env=PATH --preserve-env -u compass bash -x -e {0}
0 commit comments