Skip to content

Commit e7a0238

Browse files
committed
ci: add script to skip manpage optimization for faster package installs
1 parent 5b07417 commit e7a0238

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/cd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
with:
1616
node-version: ${{ matrix.node }}
1717
cache: 'npm'
18+
- run: .github/workflows/scripts/skip-manpage-optimization.sh
1819
- run: npm ci
1920
- run: npx playwright install --with-deps --only-shell chromium
2021
- run: npm run verify
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
# See: https://github.com/actions/runner-images/issues/10977#issuecomment-2549570980
4+
5+
# Skip installing package docs {makes the man-db trigger much faster)
6+
sudo tee /etc/dpkg/dpkg.cfg.d/01_nodoc > /dev/null << 'EOF'
7+
path-exclude /usr/share/doc/*
8+
path-exclude /usr/share/man/*
9+
path-exclude /usr/share/info/*
10+
EOF

0 commit comments

Comments
 (0)