diff --git a/.github/workflows/e2e-ci.yml b/.github/workflows/e2e-ci.yml index 8d38c81..e48d43e 100644 --- a/.github/workflows/e2e-ci.yml +++ b/.github/workflows/e2e-ci.yml @@ -28,9 +28,9 @@ jobs: pnpm config set store-dir ~/.pnpm-store - name: Set up .npmrc run: | - echo "//registry.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc + echo "//rg.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc - name: registry - run: npm config set registry https://registry.verdaccio.org + run: npm config set registry https://rg.verdaccio.org - name: Install run: pnpm install - name: Cache .pnpm-store @@ -74,9 +74,9 @@ jobs: key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.sha }} - name: Set up .npmrc run: | - echo "//registry.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc + echo "//rg.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc - name: registry - run: npm config set registry https://registry.verdaccio.org + run: npm config set registry https://rg.verdaccio.org - name: Install run: pnpm install --frozen-lockfile - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 diff --git a/.github/workflows/e2e-ui-ci.yml b/.github/workflows/e2e-ui-ci.yml index a019c74..0b2ea32 100644 --- a/.github/workflows/e2e-ui-ci.yml +++ b/.github/workflows/e2e-ui-ci.yml @@ -31,9 +31,9 @@ jobs: - name: Set up .npmrc run: | - echo "//registry.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc + echo "//rg.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc - name: registry - run: npm config set registry https://registry.verdaccio.org + run: npm config set registry https://rg.verdaccio.org - name: Install pnpm run: | diff --git a/.github/workflows/update-canary.yml b/.github/workflows/update-canary.yml index 7ee0f05..3fe61be 100644 --- a/.github/workflows/update-canary.yml +++ b/.github/workflows/update-canary.yml @@ -29,9 +29,9 @@ jobs: run: corepack prepare pnpm@latest-8 --activate - name: Set up .npmrc run: | - echo "//registry.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc + echo "//rg.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc - name: registry - run: npm config set registry https://registry.verdaccio.org + run: npm config set registry https://rg.verdaccio.org - name: install run: pnpm install - name: update to latest canary diff --git a/.npmrc b/.npmrc index 607f7d3..4af6c80 100644 --- a/.npmrc +++ b/.npmrc @@ -1,6 +1,6 @@ always-auth = true recursive-install = true loglevel=warn -registry=https://registry.verdaccio.org +registry=https://rg.verdaccio.org fetch-retries=10 fetch-retry-factor=20 \ No newline at end of file diff --git a/e2e/cli/e2e-yarn1/config/_bootstrap_verdaccio.yaml b/e2e/cli/e2e-yarn1/config/_bootstrap_verdaccio.yaml index 56a7938..d0db1b5 100644 --- a/e2e/cli/e2e-yarn1/config/_bootstrap_verdaccio.yaml +++ b/e2e/cli/e2e-yarn1/config/_bootstrap_verdaccio.yaml @@ -11,7 +11,7 @@ web: uplinks: npmjs: - url: https://registry.verdaccio.org/ + url: https://rg.verdaccio.org/ max_fails: 30 fail_timeout: 10m timeout: 60s diff --git a/tools/cli-commons/tests/server-query.test.ts b/tools/cli-commons/tests/server-query.test.ts index b2a959e..fc59a5e 100644 --- a/tools/cli-commons/tests/server-query.test.ts +++ b/tools/cli-commons/tests/server-query.test.ts @@ -25,17 +25,17 @@ describe('server query', () => { }); test('fetch debug ok', async () => { - nock('https://registry.verdaccio.org').get(`/-/_debug`).reply(201, { ok: 'debug' }); + nock('https://rg.verdaccio.org').get(`/-/_debug`).reply(201, { ok: 'debug' }); expect(true).toBeTruthy(); - const server = new ServerQuery('https://registry.verdaccio.org'); + const server = new ServerQuery('https://rg.verdaccio.org'); const query = await server.debug(); query.status(201).body_ok(/debug/); }); test('fetch debug fail', async () => { - nock('https://registry.verdaccio.org').get(`/-/_debug`).reply(500, { error: 'fail debug' }); + nock('https://rg.verdaccio.org').get(`/-/_debug`).reply(500, { error: 'fail debug' }); expect(true).toBeTruthy(); - const server = new ServerQuery('https://registry.verdaccio.org'); + const server = new ServerQuery('https://rg.verdaccio.org'); const query = await server.debug(); query.status(500).body_error(/fail debug/); });