diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 417f7fba83..4485c51693 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,16 +32,11 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn - - name: Run Lerna bootstrap + - name: Bootstrap if: steps.yarn-cache.outputs.cache-hit != 'true' run: | yarn bootstrap - - name: Generate files - if: steps.yarn-cache.outputs.cache-hit == 'true' - run: | - lerna run generate - - name: Build Components run: | yarn workspace @telekom/scale-components build @@ -85,16 +80,11 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn - - name: Run Lerna bootstrap + - name: Bootstrap if: steps.yarn-cache.outputs.cache-hit != 'true' run: | yarn bootstrap - - name: Generate files - if: steps.yarn-cache.outputs.cache-hit == 'true' - run: | - lerna run generate - - name: Build Components run: | yarn workspace @telekom/scale-components build @@ -165,16 +155,11 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn - - name: Run Lerna bootstrap + - name: Bootstrap if: steps.yarn-cache.outputs.cache-hit != 'true' run: | WHITELABEL=1 yarn bootstrap - - name: Generate files - if: steps.yarn-cache.outputs.cache-hit == 'true' - run: | - WHITELABEL=1 lerna run generate - - name: Build Components run: | WHITELABEL=1 yarn workspace @telekom/scale-components build diff --git a/package.json b/package.json index d1d908a3a5..15d978e0d1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@commitlint/cli": "^12.1.1", "@commitlint/config-conventional": "^12.1.1", "husky": "^3.0.9", - "lerna": "^3.20.2", + "lerna": "3.22.1", "prettier": "2.7.1", "replace-in-file": "^6.2.0", "rimraf": "2.6.3" diff --git a/yarn.lock b/yarn.lock index adcb124366..3ce600ed5e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13572,9 +13572,9 @@ lcid@^2.0.0: dependencies: invert-kv "^2.0.0" -lerna@^3.20.2: +lerna@3.22.1: version "3.22.1" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-3.22.1.tgz" + resolved "https://registry.yarnpkg.com/lerna/-/lerna-3.22.1.tgz#82027ac3da9c627fd8bf02ccfeff806a98e65b62" integrity sha512-vk1lfVRFm+UuEFA7wkLKeSF7Iz13W+N/vFd48aW2yuS7Kv0RbNm2/qcDPV863056LMfkRlsEe+QYOw3palj5Lg== dependencies: "@lerna/add" "3.21.0"