From ea67b98921f0a71ef5bee1546e96016ba22988fd Mon Sep 17 00:00:00 2001 From: hezhaohui Date: Sat, 18 Jul 2026 00:00:18 +0800 Subject: [PATCH] ci: use .npmrc for registry mirror instead of env var --- .gitea/workflows/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 6561f11..3732998 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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