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: ...@@ -7,6 +7,7 @@ variables:
JAVA_HOME: "/Users/alypmustaqim/Library/Java/JavaVirtualMachines/jbr-17.0.14/Contents/Home" JAVA_HOME: "/Users/alypmustaqim/Library/Java/JavaVirtualMachines/jbr-17.0.14/Contents/Home"
ANDROID_HOME: "/Users/alypmustaqim/Library/Android/sdk" ANDROID_HOME: "/Users/alypmustaqim/Library/Android/sdk"
ANDROID_SDK_ROOT: "/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" GET_SOURCES_ATTEMPTS: "3"
.common: &common .common: &common
...@@ -14,12 +15,12 @@ variables: ...@@ -14,12 +15,12 @@ variables:
- shell - shell
before_script: 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 "Runner user $(whoami)"
- echo "Architecture $(uname -m)" - echo "Architecture $(uname -m)"
- java -version - java -version
- node --version - node --version
- yarn --version - npm --version
cache: cache:
key: "$CI_COMMIT_REF_SLUG" key: "$CI_COMMIT_REF_SLUG"
...@@ -31,7 +32,7 @@ install_dependencies: ...@@ -31,7 +32,7 @@ install_dependencies:
<<: *common <<: *common
stage: install stage: install
script: script:
- yarn install --frozen-lockfile - npm ci
artifacts: artifacts:
paths: paths:
- node_modules/ - node_modules/
...@@ -43,7 +44,7 @@ lint: ...@@ -43,7 +44,7 @@ lint:
dependencies: dependencies:
- install_dependencies - install_dependencies
script: script:
- yarn lint - npm run lint
allow_failure: false allow_failure: false
test: test:
...@@ -52,7 +53,7 @@ test: ...@@ -52,7 +53,7 @@ test:
dependencies: dependencies:
- install_dependencies - install_dependencies
script: script:
- yarn test --watchAll=false --passWithNoTests - npm test -- --watchAll=false --passWithNoTests
allow_failure: false allow_failure: false
build_android: build_android:
......
This diff is collapsed.
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"@react-native-community/cli-platform-ios": "20.1.0", "@react-native-community/cli-platform-ios": "20.1.0",
"@react-native/babel-preset": "0.86.0", "@react-native/babel-preset": "0.86.0",
"@react-native/eslint-config": "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/metro-config": "0.86.0",
"@react-native/typescript-config": "0.86.0", "@react-native/typescript-config": "0.86.0",
"@types/jest": "^29.5.13", "@types/jest": "^29.5.13",
...@@ -38,4 +39,4 @@ ...@@ -38,4 +39,4 @@
"engines": { "engines": {
"node": ">= 22.11.0" "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