From e13f16a8e7b2b4c0d8973f31a2983056125c526d Mon Sep 17 00:00:00 2001 From: Octoape Date: Wed, 21 Aug 2024 19:23:17 +0800 Subject: [PATCH] fix ci issue 3 --- .github/workflows/compileAndRuntime.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compileAndRuntime.yml b/.github/workflows/compileAndRuntime.yml index 8972451..1d4d44f 100644 --- a/.github/workflows/compileAndRuntime.yml +++ b/.github/workflows/compileAndRuntime.yml @@ -18,12 +18,12 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci + - run: npm ci --registry=https://registry.npmjs.org/ - run: npm run build - name: restore example2 working-directory: ./example2 - run: npm ci + run: npm ci --registry=https://registry.npmjs.org/ # test esm build-time - name: build build-example2 @@ -36,7 +36,7 @@ jobs: - name: restore example working-directory: ./example - run: npm ci + run: npm ci --registry=https://registry.npmjs.org/ # test cjs runtime - name: runtime and api test example working-directory: ./example