Skip to content

Commit

Permalink
ci: lerna does not work in shallow clones (GitLab CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
matzeeable committed Nov 26, 2020
1 parent edc6d41 commit 7b2c871
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devops/scripts/lerna-ready-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# Make the `lerna` command possible in GitLab CI environment

# Unshallow to make git-describe.sync work https://app.clickup.com/t/a6qmdj
git fetch --unshallow

# Use unsafe-perm so lerna lifecycle events work. Why: https://git.io/JeQdu
yarn config set unsafe-perm true

Expand Down

0 comments on commit 7b2c871

Please sign in to comment.