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