Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update node12 permissions for npm install
Moves to an npm install without using a root user and chmod. This was causing significant delay when using huge modules like the AWS SDK. If this affects you in some way, just raise an issue and we will look into it. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
- Loading branch information
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If we want to make this faster, we should use
npm ci
. This puts a requirement on there being apackage-lock.json
file, although that's been standard for some time