commit fad458788aa72608286ecae3728853c0d6ed4eff
parent fb2b9f24738d5f69e37bc345de1fd1997a4d7ae2
Author: finwo <finwo@pm.me>
Date: Tue, 27 Nov 2018 15:56:14 +0100
node:10-alpine doesn't have bash
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -24,6 +24,8 @@ publish to npmjs.com:
only:
- master
script:
+ - apk update
+ - apk add bash
- scripts/prepublish.sh
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- if [ $(npm view $(node -p "require('./package.json').name") version) != $(node -p "require('./package.json').version") ]; then npm publish ; fi