Commit 275bbabb authored by alep's avatar alep

Update code

parent 1b4b40ce
Pipeline #693 failed with stages
in 1 minute 25 seconds
......@@ -7,6 +7,7 @@ variables:
JAVA_HOME: "/Users/alypmustaqim/Library/Java/JavaVirtualMachines/jbr-17.0.14/Contents/Home"
ANDROID_HOME: "/Users/alypmustaqim/Library/Android/sdk"
ANDROID_SDK_ROOT: "/Users/alypmustaqim/Library/Android/sdk"
NODE_HOME: "/Users/alypmustaqim/.nvm/versions/node/v22.21.1"
GET_SOURCES_ATTEMPTS: "3"
.common: &common
......@@ -14,12 +15,12 @@ variables:
- shell
before_script:
- export PATH="$JAVA_HOME/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator:$ANDROID_HOME/cmdline-tools/latest/bin:$PATH"
- export PATH="$NODE_HOME/bin:$JAVA_HOME/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator:$ANDROID_HOME/cmdline-tools/latest/bin:$PATH"
- echo "Runner user $(whoami)"
- echo "Architecture $(uname -m)"
- java -version
- node --version
- yarn --version
- npm --version
cache:
key: "$CI_COMMIT_REF_SLUG"
......@@ -31,7 +32,7 @@ install_dependencies:
<<: *common
stage: install
script:
- yarn install --frozen-lockfile
- npm ci
artifacts:
paths:
- node_modules/
......@@ -43,7 +44,7 @@ lint:
dependencies:
- install_dependencies
script:
- yarn lint
- npm run lint
allow_failure: false
test:
......@@ -52,7 +53,7 @@ test:
dependencies:
- install_dependencies
script:
- yarn test --watchAll=false --passWithNoTests
- npm test -- --watchAll=false --passWithNoTests
allow_failure: false
build_android:
......
This diff is collapsed.
......@@ -24,6 +24,7 @@
"@react-native-community/cli-platform-ios": "20.1.0",
"@react-native/babel-preset": "0.86.0",
"@react-native/eslint-config": "0.86.0",
"@react-native/jest-preset": "0.86.0",
"@react-native/metro-config": "0.86.0",
"@react-native/typescript-config": "0.86.0",
"@types/jest": "^29.5.13",
......@@ -38,4 +39,4 @@
"engines": {
"node": ">= 22.11.0"
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment