Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,12 @@ jobs:
cache: npm
cache-dependency-path: website/package-lock.json

# TODO: Remove this `npm install` workaround once npm reliably restores platform optional
# dependencies from package-lock.json. see <https://github.com/npm/cli/issues/4828>.
# npm prunes platform-specific optional dependencies from package-lock.json when
# node_modules exists. Reinstall from a clean tree until npm/cli#7961 is fixed.
- name: Install dependencies
run: |
npm ci
rm -rf node_modules
npm install --no-save
working-directory: website

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,12 @@ jobs:
node-version: 22
cache: npm
cache-dependency-path: website/package-lock.json
# TODO: Remove this `npm install` workaround once npm reliably restores platform optional
# dependencies from package-lock.json. see <https://github.com/npm/cli/issues/4828>.
# npm prunes platform-specific optional dependencies from package-lock.json when
# node_modules exists. Reinstall from a clean tree until npm/cli#7961 is fixed.
- name: Install dependencies
run: |
npm ci
rm -rf node_modules
npm install --no-save
working-directory: website

Expand Down
Loading