-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
38 lines (32 loc) · 1.05 KB
/
Copy pathwindows.yml
File metadata and controls
38 lines (32 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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