Skip to content

Commit 4b501fd

Browse files
authored
chore(ci): always bootstrap packages (#26349)
1 parent 181c44e commit 4b501fd

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.github/workflows/actions/publish-npm/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ runs:
2121
with:
2222
node-version: 16.x
2323
- name: Install Dependencies
24-
run: lerna bootstrap --scope ${{ inputs.scope }} --ignore-scripts -- --legacy-peer-deps
24+
run: lerna bootstrap --include-dependencies --scope ${{ inputs.scope }} --ignore-scripts -- --legacy-peer-deps
2525
shell: bash
2626
working-directory: ${{ inputs.working-directory }}
2727
- name: Update Version
28-
run: npm version ${{ inputs.version }}
28+
run: lerna version ${{ inputs.version }} --yes --exact --no-changelog --no-push --no-git-tag-version
2929
shell: bash
3030
working-directory: ${{ inputs.working-directory }}
3131
- name: Run Build
@@ -39,6 +39,6 @@ runs:
3939
env:
4040
NPM_TOKEN: ${{ inputs.token }}
4141
- name: Publish to NPM
42-
run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }} --git-tag-version false
42+
run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }}
4343
shell: bash
4444
working-directory: ${{ inputs.working-directory }}

.github/workflows/release-ionic.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ jobs:
140140
runs-on: ubuntu-latest
141141
steps:
142142
- uses: actions/checkout@v3
143+
- name: Restore @ionic/core built cache
144+
uses: ./.github/workflows/actions/download-archive
145+
with:
146+
name: ionic-core
147+
path: ./core
148+
filename: CoreBuild.zip
143149
- name: Restore @ionic/angular built cache
144150
uses: ./.github/workflows/actions/download-archive
145151
with:
@@ -160,6 +166,12 @@ jobs:
160166
runs-on: ubuntu-latest
161167
steps:
162168
- uses: actions/checkout@v3
169+
- name: Restore @ionic/core built cache
170+
uses: ./.github/workflows/actions/download-archive
171+
with:
172+
name: ionic-core
173+
path: ./core
174+
filename: CoreBuild.zip
163175
- name: Restore @ionic/react built cache
164176
uses: ./.github/workflows/actions/download-archive
165177
with:
@@ -179,6 +191,12 @@ jobs:
179191
runs-on: ubuntu-latest
180192
steps:
181193
- uses: actions/checkout@v3
194+
- name: Restore @ionic/core built cache
195+
uses: ./.github/workflows/actions/download-archive
196+
with:
197+
name: ionic-core
198+
path: ./core
199+
filename: CoreBuild.zip
182200
- name: Restore @ionic/vue built cache
183201
uses: ./.github/workflows/actions/download-archive
184202
with:

0 commit comments

Comments
 (0)