From 71e3ddabed25dc8cd47a949b2142d4ec600ee1dc Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 7 Nov 2026 12:53:08 +0100 Subject: [PATCH] ci(native): install the packages before building the watch app on its own --- .github/workflows/native.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index 18c789755..6a7c387ed 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -205,6 +205,16 @@ jobs: test -n "$XCODE" sudo xcode-select -s "$XCODE" + # The project resolves the Capacitor packages from node_modules, even for + # a target that uses none of them. + - uses: actions/setup-node@v6 + with: + node-version-file: .nvmrc + cache: npm + + - name: Install + run: npm ci --workspace=shared --workspace=client + - name: Make sure a watchOS simulator runtime is there run: | xcrun simctl list runtimes | grep -q watchOS || xcodebuild -downloadPlatform watchOS