From 2b3edab4ebfcc32bc37c54d3f8c3d25f37b3162c Mon Sep 17 00:00:00 2001 From: Nexmoe <16796652+nexmoe@users.noreply.github.com> Date: Sat, 25 Oct 2025 11:34:58 +0800 Subject: [PATCH] chore: update CI workflow to run on Windows and download yt-dlp binaries --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 006cb24..acf152d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - name: Check out Git repository @@ -25,11 +25,13 @@ jobs: - name: Install Dependencies run: pnpm install - - name: Type check - run: pnpm run typecheck + - name: Download yt-dlp binaries + run: | + # Download yt-dlp.exe for Windows + curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe -o resources/yt-dlp.exe - name: Lint and format check run: pnpm run check - - name: Build check - run: pnpm run build + - name: build-win + run: pnpm run build:win