Pārlūkot izejas kodu

ci: use `npmAuditRegistry` instead of `--registry`

Bryan Lee 2 gadi atpakaļ
vecāks
revīzija
fdbfed9006
2 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 1 1
      .github/workflows/lint.yml
  2. 3 0
      .yarnrc.yml

+ 1 - 1
.github/workflows/lint.yml

@@ -37,7 +37,7 @@ jobs:
           key: npm-cache-lint-node@16
 
       - name: Install dependencies
-        run: yarn install --immutable --registry https://registry.npmjs.org --network-timeout 300000
+        run: yarn install --immutable --network-timeout 300000
 
       - name: ESLint
         run: yarn lint

+ 3 - 0
.yarnrc.yml

@@ -1,3 +1,6 @@
 nodeLinker: node-modules
 
+npmAuditRegistry: "https://registry.npmjs.org"
+
 yarnPath: .yarn/releases/yarn-3.3.0.cjs
+