mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-06 14:22:17 +02:00
use tarball for node_modules artifact
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
@@ -6,3 +6,4 @@ set -x
|
||||
export PATH="/usr/local/lib/nodejs/bin:${PATH}"
|
||||
# install deps
|
||||
npm i
|
||||
tar -zcvf node_modules.tar.gz node_modules
|
||||
|
||||
@@ -14,6 +14,10 @@ trap _term EXIT
|
||||
export PATH="/usr/local/lib/nodejs/bin:${PATH}"
|
||||
# install deps
|
||||
#npm i
|
||||
# install from artifacts
|
||||
if [[ -f "node_modules.tar.gz" ]];then
|
||||
tar -zxvf node_modules.tar.gz
|
||||
fi
|
||||
|
||||
# generate key for paths etc
|
||||
export CI_BUILD_KEY=$(uuidgen | cut -d "-" -f 1)
|
||||
|
||||
Reference in New Issue
Block a user