fix: add sharp pre-built binaries config
This commit is contained in:
parent
754a3a14ea
commit
c9a0993f48
|
|
@ -1,6 +1,13 @@
|
|||
# Force npm build commands with verbose logging
|
||||
# Force npm build with sharp pre-built binaries
|
||||
[variables]
|
||||
SHARP_IGNORE_GLOBAL_LIBVIPS = "1"
|
||||
npm_config_platform = "linux"
|
||||
npm_config_arch = "x64"
|
||||
npm_config_libc = "glibc"
|
||||
CI = "true"
|
||||
|
||||
[phases.install]
|
||||
cmds = ['npm install --verbose 2>&1 || (echo "NPM INSTALL FAILED" && exit 1)']
|
||||
cmds = ['npm install --prefer-offline --no-audit --progress=false']
|
||||
|
||||
[phases.build]
|
||||
cmds = ['npm run build']
|
||||
|
|
|
|||
Loading…
Reference in New Issue