ci: use .npmrc for registry mirror instead of env var
Deploy Slides / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-07-18 00:00:18 +08:00
parent 4ecb9e4b18
commit ea67b98921
+3 -3
View File
@@ -24,9 +24,9 @@ jobs:
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
npm_config_registry: https://registry.npmmirror.com
run: |
echo "registry=https://registry.npmmirror.com" > .npmrc
pnpm install --frozen-lockfile
- name: Build all decks
run: pnpm run build