Skip to content

Commit e340c44

Browse files
committed
Benchmark scoped Windows CI dependency installs
1 parent aa84aed commit e340c44

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI Install Benchmark
2+
on:
3+
workflow_dispatch:
4+
permissions:
5+
contents: read
6+
jobs:
7+
windows-install:
8+
name: Windows install (${{ matrix.install }}, ${{ matrix.copy }})
9+
runs-on: blacksmith-4vcpu-windows-2025
10+
timeout-minutes: 15
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
install: [full, app]
15+
copy: [1, 2]
16+
steps:
17+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
18+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
19+
with:
20+
node-version: '22.x'
21+
package-manager-cache: false
22+
- run: npm install --global pnpm@9.15.0 --ignore-scripts
23+
- name: Install dependencies
24+
shell: bash
25+
env:
26+
INSTALL_MODE: ${{ matrix.install }}
27+
run: |
28+
filters=()
29+
if [[ "$INSTALL_MODE" == "app" ]]; then
30+
filters=(--filter bb --filter '@bb/app...' --filter '@bb/db...')
31+
fi
32+
bash .github/actions/setup-workspace/install-dependencies.sh --ignore-scripts "${filters[@]}"
33+
- name: Test app shard
34+
shell: cmd
35+
env:
36+
TEMP: ${{ runner.temp }}
37+
TMP: ${{ runner.temp }}
38+
run: pnpm exec turbo run test --filter=@bb/app --force --summarize --output-logs=new-only -- --shard=1/4

0 commit comments

Comments
 (0)