From 478f98742145dc83e9c1cbf237539c36bfc4f28b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 12 Jun 2022 19:42:15 +0100 Subject: [PATCH] Just install bash during static build --- .gitlab-ci.yml | 2 ++ scripts/copy-npm-contrib.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd0b1cf..ce50fbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,8 @@ static: key: npm-$CI_COMMIT_REF_SLUG paths: - "$CI_PROJECT_DIR/.npm-cache" + before_script: + - apk add --no-cache bash script: - npm ci --cache .npm-cache --prefer-offline - npm run build diff --git a/scripts/copy-npm-contrib.sh b/scripts/copy-npm-contrib.sh index def018d..630d5bc 100755 --- a/scripts/copy-npm-contrib.sh +++ b/scripts/copy-npm-contrib.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash set -e