Skip to content

Commit 9df4493

Browse files
authored
fix(cicd): Fix/release (#323)
1 parent 0b21273 commit 9df4493

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/on-push.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: on-push-event
22
on:
3-
push
3+
push:
4+
branches:
5+
- '**' # matches every branch
6+
- '!main'
47

58
jobs:
69
on_push:

.github/workflows/on-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
workflow_dispatch: {}
77
jobs:
88
publish:
9-
if: github.event.pull_request.merged == true
109
runs-on: ubuntu-latest
1110

1211
steps:
@@ -41,5 +40,4 @@ jobs:
4140
else
4241
npx lerna version --conventional-commits --conventional-prerelease --preid beta --create-release github --yes
4342
fi
44-
45-
npx lerna publish --no-verify-access from-git --yes
43+
npx lerna publish from-git --no-verify-access --yes

0 commit comments

Comments
 (0)