fix(core): update

This commit is contained in:
Philipp Kunz 2021-02-27 00:11:39 +00:00
parent 05fd503a20
commit 65cdb2c53a

View File

@ -7,9 +7,7 @@ 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
- 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
- apk add --no-cache libgcc libstdc++ gnupg nodejs-current nodejs-npm
- update-ca-certificates
- cp ./stack-fix.c /lib/
- set -ex
@ -17,10 +15,8 @@ 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"
- bash -c ". ~/.nvm/nvm.sh && nvm install 14.3.0 -s"
- export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
- npm -v
- npm config set unsafe-perm true
- node -v && npm -v
- npm install -g @shipzone/npmci
- npmci npm prepare