Skip to content

Commit 270d5f3

Browse files
committed
fixup! Ensure write access
1 parent 9e4e45e commit 270d5f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-installers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ jobs:
9191
# Add a non-admin sudoer user and switch to it
9292
adduser compass
9393
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
94+
# Make sure the compass user has write access to the home and workspace
95+
chown -R compass:compass $HOME/.npm $HOME/.cache $PWD
9696
ls -la $HOME
9797
# Use a shell which switch to the non-root compass user first
9898
# Using --preserve-env and --preserve-env=PATH to propagate environment variables

0 commit comments

Comments
 (0)