ci: chown npm-related paths to owner of /workspace in app container (#3768)
This commit is contained in:
parent
1d8746cd63
commit
fb41207227
|
@ -4,6 +4,10 @@ WORKSPACEDIR="/workspace"
|
|||
|
||||
service rsyslog start
|
||||
|
||||
# fix permissions for npm-related paths
|
||||
WORKSPACE_UID_GID=$(stat --format="%u:%g" "$WORKSPACEDIR")
|
||||
chown -R "$WORKSPACE_UID_GID" "$WORKSPACEDIR/node_modules" "$WORKSPACEDIR/.parcel-cache"
|
||||
|
||||
# Generate static assets
|
||||
|
||||
npm install --prefer-offline --no-audit
|
||||
|
|
Loading…
Reference in a new issue