From 7e2ac6f2bb22e27edba205efef39275eec32b1ba Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 3 Jan 2024 09:59:05 -0500 Subject: [PATCH 1/2] chore(ci): use local version of lerna --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8020b6d3e12..a37a9622cf2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,12 +78,17 @@ jobs: needs: [finalize-release] runs-on: ubuntu-latest steps: + # This ensures the local version of Lerna is installed + # and that we do not use the global Lerna version + - name: Install root dependencies + run: npm ci + shell: bash # Lerna does not automatically bump versions # of Ionic dependencies that have changed, # so we do that here. - name: Bump Package Lock run: | - lerna exec "npm install --package-lock-only" + npx lerna exec "npm install --package-lock-only" git add . git commit -m "chore(): update package lock files" git push From aaaac00bd016c478fa39e83f5705079cd4430c8a Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 3 Jan 2024 10:04:24 -0500 Subject: [PATCH 2/2] add correct fix --- .github/workflows/release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a37a9622cf2..fca6f4dc83d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,17 +78,13 @@ jobs: needs: [finalize-release] runs-on: ubuntu-latest steps: - # This ensures the local version of Lerna is installed - # and that we do not use the global Lerna version - - name: Install root dependencies - run: npm ci - shell: bash + - uses: actions/checkout@v3 # Lerna does not automatically bump versions # of Ionic dependencies that have changed, # so we do that here. - name: Bump Package Lock run: | - npx lerna exec "npm install --package-lock-only" + lerna exec "npm install --package-lock-only" git add . git commit -m "chore(): update package lock files" git push