ci: use Liara mirror for dependency checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user