Use Node 22 in Calorie AI workflows
This commit is contained in:
parent
176a9fc3bb
commit
ef6b3a494c
4 changed files with 14 additions and 6 deletions
|
|
@ -21,7 +21,11 @@ jobs:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --no-install-recommends ca-certificates curl nodejs npm unzip
|
apt-get install -y --no-install-recommends ca-certificates curl unzip
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
|
||||||
|
apt-get install -y --no-install-recommends nodejs
|
||||||
|
node --version
|
||||||
|
npm --version
|
||||||
|
|
||||||
- name: Build web app and sync Capacitor
|
- name: Build web app and sync Capacitor
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,11 @@ jobs:
|
||||||
- name: Install Node and browsers
|
- name: Install Node and browsers
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --no-install-recommends ca-certificates curl nodejs npm postgresql postgresql-client
|
apt-get install -y --no-install-recommends ca-certificates curl postgresql postgresql-client
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
|
||||||
|
apt-get install -y --no-install-recommends nodejs
|
||||||
|
node --version
|
||||||
|
npm --version
|
||||||
service postgresql start
|
service postgresql start
|
||||||
su - postgres -c "psql -tc \"SELECT 1 FROM pg_roles WHERE rolname='calorie_ai'\" | grep -q 1 || psql -c \"CREATE USER calorie_ai WITH PASSWORD 'calorie_ai';\""
|
su - postgres -c "psql -tc \"SELECT 1 FROM pg_roles WHERE rolname='calorie_ai'\" | grep -q 1 || psql -c \"CREATE USER calorie_ai WITH PASSWORD 'calorie_ai';\""
|
||||||
su - postgres -c "psql -tc \"SELECT 1 FROM pg_database WHERE datname='calorie_ai_test'\" | grep -q 1 || createdb -O calorie_ai calorie_ai_test"
|
su - postgres -c "psql -tc \"SELECT 1 FROM pg_database WHERE datname='calorie_ai_test'\" | grep -q 1 || createdb -O calorie_ai calorie_ai_test"
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ android {
|
||||||
applicationId 'com.danvics.calorieai'
|
applicationId 'com.danvics.calorieai'
|
||||||
minSdk 26
|
minSdk 26
|
||||||
targetSdk 35
|
targetSdk 35
|
||||||
versionCode 8
|
versionCode 9
|
||||||
versionName '1.8'
|
versionName '1.9'
|
||||||
}
|
}
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ android {
|
||||||
applicationId "com.danvics.calorieai"
|
applicationId "com.danvics.calorieai"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 8
|
versionCode 9
|
||||||
versionName "1.8"
|
versionName "1.9"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
aaptOptions {
|
aaptOptions {
|
||||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue