Skip to content

Commit f85786a

Browse files
committed
ci: test release-please
1 parent 35ab99f commit f85786a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/release-please.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,13 @@ jobs:
2222
node-version: [16.x]
2323

2424
steps:
25-
- name: Clone repository
26-
uses: actions/checkout@v3
27-
# these if statements ensure that a publication only occurs when
28-
# a new release is created:
29-
3025
- name: Use release please
3126
uses: google-github-actions/release-please-action@v3
3227
id: release
3328
with:
3429
release-type: node
3530
path: packages/bootstrap-vue-3
36-
package-name: bootstrap-vue-3
31+
package-name: bootstrap-vue-4
3732
bump-minor-pre-major: true
3833
bump-patch-for-minor-pre-major: true
3934

@@ -42,7 +37,11 @@ jobs:
4237

4338
# The logic below handles the npm publication:
4439

45-
40+
- name: Clone repository
41+
uses: actions/checkout@v3
42+
# these if statements ensure that a publication only occurs when
43+
# a new release is created:
44+
if: ${{ steps.release.outputs.release_created }}
4645

4746
- name: Install pnpm
4847
uses: pnpm/[email protected]

0 commit comments

Comments
 (0)