From 92a3ca2d0dc7f37477ec1614b62dc444cc2d58d4 Mon Sep 17 00:00:00 2001 From: canisminor1990 Date: Tue, 7 Jan 2025 23:20:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Update=20mako?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dumirc.ts | 2 +- .github/workflows/pkg.pr.new.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index 461adcd..ec0b8f1 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -73,7 +73,7 @@ export default defineConfig({ favicons: ['https://lobehub.com/favicon.ico'], jsMinifier: 'swc', locales: [{ id: 'en-US', name: 'English' }], - mako: isWin ? false : {}, + mako: isWin || isProduction ? false : {}, mfsu: isWin ? undefined : {}, npmClient: 'pnpm', publicPath: '/', diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index 86238ae..12420d5 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -3,7 +3,7 @@ on: pull_request: push: branches: - - '!main' + - '!master' jobs: release: @@ -28,4 +28,4 @@ jobs: run: bun run build - name: Release - run: bunx pkg-pr-new publish + run: bunx pkg-pr-new publish --comment=update