Skip to content

Commit 27ec705

Browse files
committed
ci: test commit workflow
1 parent 9ff64d7 commit 27ec705

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release-please.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,34 +44,34 @@ jobs:
4444
uses: actions/checkout@v3
4545
# these if statements ensure that a publication only occurs when
4646
# a new release is created:
47-
if: ${{ steps.release.outputs[format('{0}{1}', env.path, env.postfix)] }}
47+
if: ${{ contains(steps.release.outputs.paths_released, env.path) }}
4848

4949
- name: Install pnpm
5050
uses: pnpm/[email protected]
51-
if: ${{ steps.release.outputs[format('{0}{1}', env.path, env.postfix)] }}
51+
if: ${{ contains(steps.release.outputs.paths_released, env.path) }}
5252

5353
- name: Set node version to 16
5454
uses: actions/setup-node@v2
5555
with:
5656
node-version: 16
5757
cache: 'pnpm'
5858
registry-url: 'https://registry.npmjs.org'
59-
if: ${{ steps.release.outputs[format('{0}{1}', env.path, env.postfix)] }}
59+
if: ${{ contains(steps.release.outputs.paths_released, env.path) }}
6060

6161
- name: Install dependencies
6262
run: pnpm install --ignore-scripts
63-
if: ${{ steps.release.outputs[format('{0}{1}', env.path, env.postfix)] }}
63+
if: ${{ contains(steps.release.outputs.paths_released, env.path) }}
6464

6565
- name: Build library
6666
run: pnpm run build
67-
if: ${{ steps.release.outputs[format('{0}{1}', env.path, env.postfix)] }}
67+
if: ${{ contains(steps.release.outputs.paths_released, env.path) }}
6868

6969
- name: Test library
7070
run: pnpm test
71-
if: ${{ steps.release.outputs[format('{0}{1}', env.path, env.postfix)] }}
71+
if: ${{ contains(steps.release.outputs.paths_released, env.path) }}
7272

7373
- name: Publish
7474
run: pnpm publish --tag develop --filter .\packages\bootstrap-vue-3\
7575
env:
7676
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
77-
if: ${{ steps.release.outputs[format('{0}{1}', env.path, env.postfix)] }}
77+
if: ${{ contains(steps.release.outputs.paths_released, env.path) }}

0 commit comments

Comments
 (0)