Skip to content

Commit 72430f8

Browse files
authored
ci: always release packages when a release is merged (open-telemetry#1215)
1 parent ea457c4 commit 72430f8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/release-please.yml

-5
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,17 @@ jobs:
1717

1818
# The logic below handles the npm publication:
1919
- name: Checkout Repository
20-
if: ${{ steps.release.outputs.releases_created }}
2120
uses: actions/checkout@v3
2221
with:
2322
fetch-depth: 0
2423

2524
- name: Setup Node
2625
uses: actions/setup-node@v3
27-
if: ${{ steps.release.outputs.releases_created }}
2826
with:
2927
node-version: 14
3028
registry-url: 'https://registry.npmjs.org'
3129

3230
- name: Cache Dependencies
33-
if: ${{ steps.release.outputs.releases_created }}
3431
uses: actions/cache@v3
3532
with:
3633
path: |
@@ -45,7 +42,6 @@ jobs:
4542
key: release-${{ runner.os }}-${{ matrix.container }}-${{ hashFiles('**/package.json') }}
4643

4744
- name: Build Packages
48-
if: ${{ steps.release.outputs.releases_created }}
4945
run: |
5046
npm install
5147
npx lerna bootstrap --no-ci
@@ -54,7 +50,6 @@ jobs:
5450
# need to publish all unpublished versions to npm here
5551
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
5652
- name: Publish to npm
57-
if: ${{ steps.release.outputs.releases_created }}
5853
env:
5954
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6055
run: npx lerna publish from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes

0 commit comments

Comments
 (0)