From 35968f4861dc4b250868c5354b68064907395f40 Mon Sep 17 00:00:00 2001 From: one Date: Fri, 22 Aug 2025 22:52:03 +0800 Subject: [PATCH] chore(ci): refine pr ci steps (#9429) * chore(ci): refine pr ci steps * fix: line errors --- .github/workflows/pr-ci.yml | 12 +++++++++--- src/main/config.ts | 2 +- src/main/services/NotificationService.ts | 1 + 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 2c15302bee..82058ec2a9 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -45,8 +45,14 @@ jobs: - name: Install Dependencies run: yarn install - - name: Build Check - run: yarn build:check - - name: Lint Check run: yarn test:lint + + - name: Type Check + run: yarn typecheck + + - name: i18n Check + run: yarn check:i18n + + - name: Test + run: yarn test diff --git a/src/main/config.ts b/src/main/config.ts index dce2013199..5a6f667d18 100644 --- a/src/main/config.ts +++ b/src/main/config.ts @@ -1,7 +1,7 @@ +import { isDev, isWin } from '@main/constant' import { app } from 'electron' import { getDataPath } from './utils' -import { isWin, isDev } from '@main/constant' if (isDev) { app.setPath('userData', app.getPath('userData') + 'Dev') diff --git a/src/main/services/NotificationService.ts b/src/main/services/NotificationService.ts index 361908f209..2ceb12ee40 100644 --- a/src/main/services/NotificationService.ts +++ b/src/main/services/NotificationService.ts @@ -1,5 +1,6 @@ import { Notification as ElectronNotification } from 'electron' import { Notification } from 'src/renderer/src/types/notification' + import { windowService } from './WindowService' class NotificationService {