diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0bbe511c52..6e5af4d933 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,7 @@ jobs: steps: - uses: actions/checkout@v2 with: + token: ${{ secrets.IONITRON_TOKEN }} fetch-depth: 0 - uses: actions/setup-node@v2 with: @@ -49,3 +50,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" + git config user.name ionitron + git config user.email hi@ionicframework.com + git add . + git commit -m "chore(): update package lock files" + git push +