Skip to content

Commit

Permalink
chore: fix CI failing to publish (#2128) (#2129)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arturo Castillo Delgado authored Sep 14, 2023
1 parent 7ce6ce1 commit 0cb7e4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0cb7e4e

Please sign in to comment.