Update action.yml
This commit is contained in:
1 parent
2126a5e5d2
commit
5fa3892e4f
1 file changed
+3
-1
@@ -20,9 +20,11 @@ runs:
|
|||||||
# We want to only bootstrap and install if no cache is found.
|
# We want to only bootstrap and install if no cache is found.
|
||||||
# Futhermore, we might want to do a partial, hoisted, bootstrap towards
|
# Futhermore, we might want to do a partial, hoisted, bootstrap towards
|
||||||
# the base branch if it exists, otherwise we choose develop for this.
|
# the base branch if it exists, otherwise we choose develop for this.
|
||||||
|
|
||||||
|
# yarn install --frozen-lockfile
|
||||||
- run: |
|
- run: |
|
||||||
|
yarn install --frozen-lockfile
|
||||||
if [[ "${{steps.cache.outputs.cache-hit}}" != "true" ]] || [[ "${{inputs.partial}}" != "true" ]]; then
|
if [[ "${{steps.cache.outputs.cache-hit}}" != "true" ]] || [[ "${{inputs.partial}}" != "true" ]]; then
|
||||||
yarn install --frozen-lockfile
|
|
||||||
yarn bootstrap --concurrency=2
|
yarn bootstrap --concurrency=2
|
||||||
elif [[ "${{inputs.partial}}" = "true" ]]; then
|
elif [[ "${{inputs.partial}}" = "true" ]]; then
|
||||||
[[ ! -z "${GITHUB_BASE_REF}" ]] && ref="${GITHUB_BASE_REF#refs/heads/}" || ref="develop"
|
[[ ! -z "${GITHUB_BASE_REF}" ]] && ref="${GITHUB_BASE_REF#refs/heads/}" || ref="develop"
|
||||||
|
|||||||
Reference in new issue
Block a user