Skip to content

Commit cc511cd

Browse files
authored
fix: allow manual publish workflow dispatch (#13)
1 parent 5e1118c commit cc511cd

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release
33
on:
44
push:
55
branches: [main]
6+
workflow_dispatch:
67

78
jobs:
89
release:

test/publish-config.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ describe("package publish config", () => {
3838

3939
const workflow = readFileSync(releaseWorkflowPath, "utf-8")
4040

41+
expect(workflow).toContain("workflow_dispatch:")
4142
expect(workflow).toContain("oven-sh/setup-bun")
4243
expect(workflow).toContain("bun install")
4344
expect(workflow).toContain("npx semantic-release@25")

0 commit comments

Comments
 (0)