From 132919089d3ca18feb5142422b84cf73bb749d80 Mon Sep 17 00:00:00 2001 From: Arturo Date: Thu, 14 Sep 2023 18:09:37 +0200 Subject: [PATCH 1/2] fix: remove Generate files step in workflows/publish.yml --- .github/workflows/publish.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) 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 From ea6ed8b5d1b0181b662703a152453ce0a198fee6 Mon Sep 17 00:00:00 2001 From: Arturo Date: Thu, 14 Sep 2023 18:09:45 +0200 Subject: [PATCH 2/2] chore: pin lerna version --- package.json | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"