diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5a2a7d9ce..4d5000ea4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,6 +55,15 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 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 --legacy-peer-deps" + git add . + git commit -m "chore(): update package lock files" + git push # Purge the JSDeliver CDN cache so # component playgrounds always load # the latest version of Ionic.