diff --git a/templates/build-nodejs b/templates/build-nodejs index 759965974a..7f088a3d83 100644 --- a/templates/build-nodejs +++ b/templates/build-nodejs @@ -4,16 +4,17 @@ # directory to see other examples. Builds: - - versionName: "1.0" + - versionName: '1.0' versionCode: 1 - commit: "1.0" + commit: '1.0' subdir: android/app/ sudo: - - sysctl fs.inotify.max_user_watches=524288 + - sysctl fs.inotify.max_user_watches=524288 || true # Find the nodejs download URL at https://nodejs.org/en/download/releases/ - curl -Lo node.tar.xz https://nodejs.org/download/release/v16.17.0/node-v16.17.0-linux-x64.tar.xz # Find the checksum at https://nodejs.org/dist/v${VERSION}/SHASUMS256.txt.asc - - echo "f0867d7a17a4d0df7dbb7df9ac3f9126c2b58f75450647146749ef296b31b49b node.tar.xz" | sha256sum -c - + - echo "f0867d7a17a4d0df7dbb7df9ac3f9126c2b58f75450647146749ef296b31b49b node.tar.xz" + | sha256sum -c - - tar xJf node.tar.xz --strip-components=1 -C /usr/local/ # If you use yarn - npm -g install yarn @@ -34,5 +35,5 @@ Builds: AutoUpdateMode: Version %v UpdateCheckMode: Tags -CurrentVersion: "1.0" +CurrentVersion: '1.0' CurrentVersionCode: 1