mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
chore: sync with main
This commit is contained in:
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
@ -72,16 +72,25 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
shell: bash
|
shell: bash
|
||||||
# Lerna does not automatically bump versions
|
|
||||||
# of Ionic dependencies that have changed,
|
update-package-lock:
|
||||||
# so we do that here.
|
# This needs to run after finalize-release
|
||||||
- name: Bump Package Lock
|
# because we also push to the repo in that
|
||||||
run: |
|
# job. If these jobs ran in parallel then it is
|
||||||
pnpm install --lockfile-only
|
# possible for them to push at the same time.
|
||||||
git add .
|
needs: [finalize-release]
|
||||||
git commit -m "chore(): update package lock files"
|
runs-on: ubuntu-latest
|
||||||
git push
|
steps:
|
||||||
shell: bash
|
# Lerna does not automatically bump versions
|
||||||
|
# of Ionic dependencies that have changed,
|
||||||
|
# so we do that here.
|
||||||
|
- name: Bump Package Lock
|
||||||
|
run: |
|
||||||
|
pnpm install --lockfile-only
|
||||||
|
git add .
|
||||||
|
git commit -m "chore(): update package lock files"
|
||||||
|
git push
|
||||||
|
shell: bash
|
||||||
|
|
||||||
purge-cdn-cache:
|
purge-cdn-cache:
|
||||||
needs: [release-ionic]
|
needs: [release-ionic]
|
||||||
|
Reference in New Issue
Block a user