From d42ff4aeb68ae8f7a67f4f2302779e9aad30463a Mon Sep 17 00:00:00 2001 From: Amirhossein Khalili Date: Thu, 10 Sep 2026 11:37:51 +0330 Subject: [PATCH] ci: use Liara mirror for dependency checks --- .gitea/workflows/ci-cd.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 4943d5e..88c5f35 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -25,7 +25,10 @@ jobs: cache: npm - name: Install dependencies - run: npm ci + run: | + npm ci \ + --registry="https://package-mirror.liara.ir/repository/npm/" \ + --replace-registry-host=registry.npmjs.org - name: Lint run: npm run lint @@ -40,7 +43,10 @@ jobs: run: npm test - name: Audit production dependencies - run: npm audit --audit-level=high + run: | + npm audit \ + --registry="https://package-mirror.liara.ir/repository/npm/" \ + --audit-level=high deploy: name: Deploy production