Skip to content

Commit 1fd6d87

Browse files
committed
fix(build): fix npm-publish [skip release]
1 parent 4d82d0f commit 1fd6d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/npm-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
publish:
2121
needs: dry-run
22-
if: github.event.pull_request.merged == true && github.head_ref == 'main'
22+
if: github.event.pull_request.merged == true && github.ref == 'refs/heads/main'
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)