100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Include package.json files in UI artifacts (#2828)
Koen45db510e2f63
diff --git a/.github/workflows/install-dist.yml b/.github/workflows/install-dist.ymlindex aa5083e3a..23a769030 100644--- a/.github/workflows/install-dist.yml+++ b/.github/workflows/install-dist.yml@@ -92,6 +92,17 @@ jobs:ui/component/**/distui/component/**/libui/component/**/tsconfig.tsbuildinfo+ ui/component/**/package.json++ - name: Archive UI app build+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1+ with:+ name: or-ui-app-build+ if-no-files-found: error+ path: |+ ui/app/**/dist+ ui/app/**/lib+ ui/app/**/package.json- name: Archive MDI fontsuses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.ymlindex b81575c62..566415a24 100644--- a/.github/workflows/publish-npm.yml+++ b/.github/workflows/publish-npm.yml@@ -15,13 +15,22 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: or-ui-component-buildpath: ui/component++ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1+ with:+ name: or-ui-app-build+ path: ui/app+- name: Update when the `tsbuildinfo` files were last modified to 'now'run: find . -name "*.tsbuildinfo" -exec touch {} ++- run: yarn --immutable+- name: Publish to NPMrun: |echo 'npmRegistries:' >> .yarnrc.yml