Skip to content

Commit

Permalink
feat: add HarmonyOS package registry to cd.yaml
Browse files Browse the repository at this point in the history
This commit adds the HarmonyOS npm registry URL to the cd.yaml file. It enables the use of HarmonyOS packages for the build process.
  • Loading branch information
phodal committed Feb 28, 2024
1 parent e0641fc commit 5df3139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5df3139

Please sign in to comment.