Skip to content

Commit ce7e8b4

Browse files
authored
Use npm install in deploy-docs workflow (#1491)
The `deploy-docs` workflow failed when triggered manually because it relied on `npm ci`, which requires a committed `package-lock.json`. This repository intentionally gitignores `package-lock.json` (see `.gitignore`), so the install step always errored out with `EUSAGE`. Replace `npm ci --ignore-scripts` with `npm install --ignore-scripts --no-audit --no-fund` to keep the intent (skip native build scripts, avoid noisy output) while working without a lockfile. Fix: #1489
1 parent e54a991 commit ce7e8b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
node-version: 24.x
4141

4242
- name: Install dependencies
43-
run: npm ci --ignore-scripts
43+
run: npm install --ignore-scripts --no-audit --no-fund
4444

4545
- name: Build docs
4646
run: npm run docs:gh-pages

0 commit comments

Comments
 (0)