tswe
RN APK Build / build (push) Failing after 5s

This commit is contained in:
NishantRajputRN
2026-05-13 13:08:20 +05:30
parent e58d45cac4
commit 071f31ae59
2 changed files with 18 additions and 0 deletions
+17
View File
@@ -15,6 +15,23 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
# Host runner (ubuntu-latest:host) does not load ~/.bashrc — nvm is invisible unless we
# load it here. Persist PATH for all later steps (actions/setup-node, npm, etc.).
- name: Put Node on PATH (NVM for host runner)
run: |
set -euo pipefail
NVM_DIR="${NVM_DIR:-$HOME/.nvm}"
if [ ! -s "$NVM_DIR/nvm.sh" ]; then
echo "NVM not found at $NVM_DIR/nvm.sh. Install nvm for the runner user or add Node to /usr/local/bin." >&2
exit 1
fi
# shellcheck source=/dev/null
. "$NVM_DIR/nvm.sh"
nvm use 20
echo "PATH=$PATH" >> "$GITHUB_ENV"
command -v node
node -v
# ---------------- JAVA (Gradle + SonarScanner need JDK on Ubuntu) ---------------- # ---------------- JAVA (Gradle + SonarScanner need JDK on Ubuntu) ----------------
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v4 uses: actions/setup-java@v4
+1
View File
@@ -1,3 +1,4 @@
console.log("test1") console.log("test1")
console.log("trest2") console.log("trest2")
console.log("trest3") console.log("trest3")
console.log("trest4")