From 02e9ee5b626babc9174ac50b20947cfb4c97d0ad Mon Sep 17 00:00:00 2001 From: Shibo Lyu Date: Thu, 22 May 2025 20:49:58 +0800 Subject: [PATCH] ci: simplify publish workflow by removing test steps --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb1ee58..46de965 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Test & Publish on JSR & npm +name: Publish on JSR & npm on: workflow_run: @@ -6,7 +6,7 @@ on: types: - completed jobs: - testAndPublish: + publish: runs-on: ubuntu-latest permissions: contents: read @@ -26,7 +26,7 @@ jobs: run: pnpm install - name: Build & Test - run: pnpm build && pnpm test + run: pnpm build - name: Publish to JSR run: pnpm dlx jsr publish