diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0313cc7..94613a9 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -60,6 +60,7 @@ jobs: - name: Create OHPM package.json file run: | npm init -y + npm config set @ohos:registry=https://repo.harmonyos.com/npm/ npm install @ohos/hvigor@2.4.2 @ohos/hvigor-ohos-plugin@2.4.2 - name: Build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d8e845..3bdbfa2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,6 +57,7 @@ jobs: - name: Create OHPM package.json file run: | npm init -y + npm config set @ohos:registry=https://repo.harmonyos.com/npm/ npm install @ohos/hvigor@2.4.2 @ohos/hvigor-ohos-plugin@2.4.2 - name: Build