Skip to content

Commit eddd5be

Browse files
committed
fix: issues with releasing from main branch
1 parent 3addb87 commit eddd5be

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
needs: [lint, test]
4949
steps:
5050
- name: Check releasable
51-
if: ${{ github.repository == 'marko-js/htmljs-parser' && github.ref == 'refs/heads/next' && github.event_name == 'push' }}
51+
if: ${{ github.repository == 'marko-js/htmljs-parser' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next') }}
5252
run: exit 0
5353
- name: Checkout code
5454
uses: actions/checkout@v2

.releaserc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"branches": ["main", "next"]
3+
}

0 commit comments

Comments
 (0)