Skip to content

Commit b9cfbc2

Browse files
committed
Fix condition in publish ci
1 parent ffe942f commit b9cfbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Build meilisearch-js
2020
run: yarn build
2121
- name: Publish with latest tag
22-
if: "github.event.release.release"
22+
if: "!github.event.release.prerelease"
2323
run: npm publish .
2424
env:
2525
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)