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 run: npm install -g pnpm
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: |
env: echo "registry=https://registry.npmmirror.com" > .npmrc
npm_config_registry: https://registry.npmmirror.com pnpm install --frozen-lockfile
- name: Build all decks - name: Build all decks
run: pnpm run build run: pnpm run build