We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b08011d commit 17f3a1fCopy full SHA for 17f3a1f
2 files changed
.github/workflows/deploy-pages.yml
@@ -33,7 +33,7 @@ jobs:
33
VITE_BASE: /${{ github.event.repository.name }}/
34
# Vite + Mermaid/Shiki can exceed default Node heap on ubuntu-latest
35
NODE_OPTIONS: --max-old-space-size=6144
36
- run: node -v && npm -v && npm ci && npm run build
+ run: node -v && npm -v && npm ci --userconfig "${GITHUB_WORKSPACE}/website/ci.npmrc" && npm run build
37
38
- uses: actions/upload-pages-artifact@v3
39
with:
website/ci.npmrc
@@ -0,0 +1,2 @@
1
+; Used by GitHub Actions only — avoids parent repo .npmrc (token / pnpm-only keys) breaking npm ci
2
+registry=https://registry.npmjs.org/
0 commit comments