diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba9f66b..a5862df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,9 @@ before_script: - apk update - apk add --no-cache git openssl ca-certificates bash curl - apk add --no-cache make gcc g++ python linux-headers paxctl -- apk add --no-cache libgcc libstdc++ gnupg nodejs nodejs-npm +- apk add --no-cache libgcc libstdc++ gnupg +- apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils +- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash - update-ca-certificates - cp ./stack-fix.c /lib/ - set -ex @@ -15,6 +17,7 @@ before_script: - gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so - apk del .build-deps - export LD_PRELOAD="/lib/stack-fix.so" +- nvm install stable -s - npm config set unsafe-perm true - node -v && npm -v - npm install -g @shipzone/npmci