name: Windows on: pull_request: paths: - 'src/**' - 'plugin/scripts/**' - 'package.json' - 'bunfig.toml' - '.github/workflows/windows.yml' push: branches: [main] jobs: build: # Pinned to windows-2022 (VS2022 / v17). The windows-latest image moved to # windows-2025, which ships Visual Studio 18 — npm's bundled node-gyp@11.5.0 # can't detect it ("unknown version undefined") and native tree-sitter # rebuilds fail during `npm install`. Revisit when node-gyp gains VS18 support. runs-on: windows-2022 timeout-minutes: 25 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '22' - name: Install Bun (worker runtime) run: | irm bun.sh/install.ps1 | iex shell: pwsh - run: npm install --no-audit --no-fund # Build only — the build-and-sync script also runs marketplace sync + worker # restart from a hardcoded ~/.claude/plugins path that doesn't exist on CI. - run: npm run build