Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Add missing UI artifcats in npm dry run job (#2846)

Koen43df451a1379
diff --git a/.github/workflows/publish-npm-dry-run.yml b/.github/workflows/publish-npm-dry-run.yml
index 4b5121092..34c97e782 100644
--- a/.github/workflows/publish-npm-dry-run.yml
+++ b/.github/workflows/publish-npm-dry-run.yml
@@ -14,16 +14,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: or-ui-component-build
path: ui/component
+
+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ with:
+ name: or-ui-app-build
+ path: ui/app
+
+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ with:
+ name: or-ui-util-build
+ path: ui/util
+
- name: Update when the `tsbuildinfo` files were last modified to 'now'
run: find . -name "*.tsbuildinfo" -exec touch {} +
# You can see how the TypeScript compiler invalidates the build artifacts by running:
# - `npx tsc -b --verbose`: to see if the artifacts are up-to-date
# - `find src | xargs touch`: to update component inputs
- run: yarn --immutable
+
- name: Run NPM publish dry run
timeout-minutes: 20
run: yarn workspaces foreach --all --no-private --topological npm publish --dry-run