Skip to content

armgit / lyftr

Public Imported from GitHub
0

Self-hosted fitness tracker. Log workouts, track nutrition, and monitor progress. Docker deployment, mobile-friendly.

Build the tester APK on Node 22, which eas-cli now requires (#149)

Carter620e9a166192
diff --git a/.github/workflows/eas-build.yml b/.github/workflows/eas-build.yml
index 50910d2..1431d25 100644
--- a/.github/workflows/eas-build.yml
+++ b/.github/workflows/eas-build.yml
@@ -88,7 +88,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
- node-version: '20'
+ # 22, not the 20 the other workflows use: eas-cli's own dependency tree
+ # (@oclif/plugin-autocomplete) declares engines.node >= 22, so installing the
+ # CLI fails outright on 20 - "Found incompatible module", before any build
+ # step runs. Only this workflow installs eas-cli, so only this one needs it.
+ node-version: '22'
cache: 'npm'
cache-dependency-path: package-lock.json
- uses: expo/expo-github-action@v8
@@ -136,7 +140,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
- node-version: '20'
+ # 22, not the 20 the other workflows use: eas-cli's own dependency tree
+ # (@oclif/plugin-autocomplete) declares engines.node >= 22, so installing the
+ # CLI fails outright on 20 - "Found incompatible module", before any build
+ # step runs. Only this workflow installs eas-cli, so only this one needs it.
+ node-version: '22'
cache: 'npm'
cache-dependency-path: package-lock.json
# Local Android builds compile with Gradle on this runner, so the JDK is ours to