From 27b0d6b6f859756f88e823a8c893966dc4c6d581 Mon Sep 17 00:00:00 2001 From: Huakun Shen Date: Fri, 7 Feb 2025 00:46:49 -0500 Subject: [PATCH] chore: add workflow_dispatch trigger to publish workflows and update branch push settings --- .github/workflows/jsr-publish.yml | 3 ++- .github/workflows/npm-publish.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jsr-publish.yml b/.github/workflows/jsr-publish.yml index 1d702d6..068cc38 100644 --- a/.github/workflows/jsr-publish.yml +++ b/.github/workflows/jsr-publish.yml @@ -3,6 +3,7 @@ on: push: branches: - main + workflow_dispatch: jobs: publish: @@ -14,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v2 + - uses: oven-sh/setup-bun@v2 - name: Setup Node.js uses: actions/setup-node@v4 with: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 4bfc5f4..c42eadb 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,6 +1,8 @@ name: NPM Package Publish on: + push: + branches: [main] release: types: [created] workflow_dispatch: