mirror of
https://github.com/urosran/cally.git
synced 2025-07-14 17:25:46 +00:00
CICD test
This commit is contained in:
40
.github/workflows/ci-cd.yml
vendored
Executable file
40
.github/workflows/ci-cd.yml
vendored
Executable file
@ -0,0 +1,40 @@
|
|||||||
|
name: CI/CD Workflow
|
||||||
|
|
||||||
|
env:
|
||||||
|
EXPO_ASC_API_KEY_PATH: ../AuthKey_F7ZX3C8C69.p8
|
||||||
|
EXPO_ASC_KEY_ID: F7ZX3C8C69
|
||||||
|
EXPO_ASC_ISSUER_ID: f7d6175c-75fe-416c-b6d1-0bc9eaf87415
|
||||||
|
EXPO_APPLE_TEAM_ID: MV9C3PHV87
|
||||||
|
EXPO_APPLE_TEAM_TYPE: INDIVIDUAL
|
||||||
|
EXPO_TOKEN: qt2h_4xhuhFB-ArysIkzgpsBtWOrrZ-c_So_S9ch
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Install and build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20.x
|
||||||
|
cache: npm
|
||||||
|
|
||||||
|
- name: Setup Expo and EAS
|
||||||
|
uses: expo/expo-github-action@v8
|
||||||
|
with:
|
||||||
|
eas-version: latest
|
||||||
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Prebuild, Build and Submit
|
||||||
|
run: npm run prebuild-build-submit-cicd
|
5
app.json
5
app.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "cally",
|
"name": "Cally - Planner",
|
||||||
"slug": "cally",
|
"slug": "cally",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
@ -15,7 +15,8 @@
|
|||||||
"ios": {
|
"ios": {
|
||||||
"supportsTablet": true,
|
"supportsTablet": true,
|
||||||
"bundleIdentifier": "com.cally.app",
|
"bundleIdentifier": "com.cally.app",
|
||||||
"googleServicesFile": "./ios/GoogleService-Info.plist"
|
"googleServicesFile": "./ios/GoogleService-Info.plist",
|
||||||
|
"buildNumber": "5"
|
||||||
},
|
},
|
||||||
"android": {
|
"android": {
|
||||||
"adaptiveIcon": {
|
"adaptiveIcon": {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { View, Text, Button, TextField, ButtonSize } from "react-native-ui-lib";
|
import {Button, ButtonSize, Text, TextField, View} from "react-native-ui-lib";
|
||||||
import React, {useState} from "react";
|
import React, {useState} from "react";
|
||||||
import {useSignIn} from "@/hooks/firebase/useSignIn";
|
import {useSignIn} from "@/hooks/firebase/useSignIn";
|
||||||
import {StyleSheet} from "react-native";
|
import {StyleSheet} from "react-native";
|
||||||
@ -35,8 +35,9 @@ const SignInPage = (props: { setRegister: () => any }) => {
|
|||||||
backgroundColor="#fd1775"
|
backgroundColor="#fd1775"
|
||||||
/>
|
/>
|
||||||
{isError && <Text center style={{marginBottom: 20}}>{`${error}`}</Text>}
|
{isError && <Text center style={{marginBottom: 20}}>{`${error}`}</Text>}
|
||||||
<View row centerH>
|
|
||||||
<Text center style={{ marginBottom: 5 }}>
|
<View row centerH marginB-5 gap-5>
|
||||||
|
<Text text70>
|
||||||
Don't have an account?
|
Don't have an account?
|
||||||
</Text>
|
</Text>
|
||||||
<Button
|
<Button
|
||||||
@ -46,6 +47,7 @@ const SignInPage = (props: { setRegister: () => any }) => {
|
|||||||
size={ButtonSize.xSmall}
|
size={ButtonSize.xSmall}
|
||||||
padding-0
|
padding-0
|
||||||
margin-0
|
margin-0
|
||||||
|
text70
|
||||||
left
|
left
|
||||||
color="#fd1775"
|
color="#fd1775"
|
||||||
/>
|
/>
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
import React, {useState} from "react";
|
import React, {useState} from "react";
|
||||||
import {
|
import {Button, ButtonSize, Text, TextField, View,} from "react-native-ui-lib";
|
||||||
Checkbox,
|
|
||||||
Button,
|
|
||||||
View,
|
|
||||||
Text,
|
|
||||||
TextField,
|
|
||||||
ButtonSize,
|
|
||||||
} from "react-native-ui-lib";
|
|
||||||
import {useSignUp} from "@/hooks/firebase/useSignUp";
|
import {useSignUp} from "@/hooks/firebase/useSignUp";
|
||||||
import {ProfileType} from "@/contexts/AuthContext";
|
import {ProfileType} from "@/contexts/AuthContext";
|
||||||
import {StyleSheet} from "react-native";
|
import {StyleSheet} from "react-native";
|
||||||
@ -34,7 +27,7 @@ const SignUpPage = (props: { unsetRegister: () => any }) => {
|
|||||||
<Text text30 center>
|
<Text text30 center>
|
||||||
Get started with Kali
|
Get started with Kali
|
||||||
</Text>
|
</Text>
|
||||||
<Text>Please enter your details.</Text>
|
<Text center>Please enter your details.</Text>
|
||||||
<TextField
|
<TextField
|
||||||
marginT-60
|
marginT-60
|
||||||
placeholder="First name"
|
placeholder="First name"
|
||||||
@ -118,17 +111,20 @@ const SignUpPage = (props: { unsetRegister: () => any }) => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>*/}
|
/>*/}
|
||||||
<View row centerH>
|
<View row centerH marginT-10 marginB-5 gap-5>
|
||||||
<Text text70 center style={{ marginBottom: 5, marginTop: 10 }}>
|
<Text text70 center>
|
||||||
Already have an account?
|
Already have an account?
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
label="Sign In"
|
label="Sign In"
|
||||||
|
flexS
|
||||||
margin-0
|
margin-0
|
||||||
link
|
link
|
||||||
color="#fd1775"
|
color="#fd1775"
|
||||||
size={ButtonSize.small}
|
size={ButtonSize.small}
|
||||||
text200
|
text70
|
||||||
onPress={props.unsetRegister}
|
onPress={props.unsetRegister}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
@ -953,6 +953,8 @@ PODS:
|
|||||||
- BoringSSL-GRPC/Implementation (0.0.32):
|
- BoringSSL-GRPC/Implementation (0.0.32):
|
||||||
- BoringSSL-GRPC/Interface (= 0.0.32)
|
- BoringSSL-GRPC/Interface (= 0.0.32)
|
||||||
- BoringSSL-GRPC/Interface (0.0.32)
|
- BoringSSL-GRPC/Interface (0.0.32)
|
||||||
|
- BVLinearGradient (2.8.3):
|
||||||
|
- React-Core
|
||||||
- DoubleConversion (1.1.6)
|
- DoubleConversion (1.1.6)
|
||||||
- EXConstants (16.0.2):
|
- EXConstants (16.0.2):
|
||||||
- ExpoModulesCore
|
- ExpoModulesCore
|
||||||
@ -2707,11 +2709,14 @@ PODS:
|
|||||||
- ReactCommon/turbomodule/bridging
|
- ReactCommon/turbomodule/bridging
|
||||||
- ReactCommon/turbomodule/core
|
- ReactCommon/turbomodule/core
|
||||||
- Yoga
|
- Yoga
|
||||||
|
- RNSVG (15.6.0):
|
||||||
|
- React-Core
|
||||||
- SocketRocket (0.7.0)
|
- SocketRocket (0.7.0)
|
||||||
- Yoga (0.0.0)
|
- Yoga (0.0.0)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
|
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
|
||||||
|
- BVLinearGradient (from `../node_modules/react-native-linear-gradient`)
|
||||||
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
||||||
- EXConstants (from `../node_modules/expo-constants/ios`)
|
- EXConstants (from `../node_modules/expo-constants/ios`)
|
||||||
- EXJSONUtils (from `../node_modules/expo-json-utils/ios`)
|
- EXJSONUtils (from `../node_modules/expo-json-utils/ios`)
|
||||||
@ -2796,6 +2801,7 @@ DEPENDENCIES:
|
|||||||
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
|
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
|
||||||
- RNReanimated (from `../node_modules/react-native-reanimated`)
|
- RNReanimated (from `../node_modules/react-native-reanimated`)
|
||||||
- RNScreens (from `../node_modules/react-native-screens`)
|
- RNScreens (from `../node_modules/react-native-screens`)
|
||||||
|
- RNSVG (from `../node_modules/react-native-svg`)
|
||||||
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
|
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
|
||||||
|
|
||||||
SPEC REPOS:
|
SPEC REPOS:
|
||||||
@ -2833,6 +2839,8 @@ SPEC REPOS:
|
|||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
boost:
|
boost:
|
||||||
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
|
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
|
||||||
|
BVLinearGradient:
|
||||||
|
:path: "../node_modules/react-native-linear-gradient"
|
||||||
DoubleConversion:
|
DoubleConversion:
|
||||||
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
|
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
|
||||||
EXConstants:
|
EXConstants:
|
||||||
@ -2998,6 +3006,8 @@ EXTERNAL SOURCES:
|
|||||||
:path: "../node_modules/react-native-reanimated"
|
:path: "../node_modules/react-native-reanimated"
|
||||||
RNScreens:
|
RNScreens:
|
||||||
:path: "../node_modules/react-native-screens"
|
:path: "../node_modules/react-native-screens"
|
||||||
|
RNSVG:
|
||||||
|
:path: "../node_modules/react-native-svg"
|
||||||
Yoga:
|
Yoga:
|
||||||
:path: "../node_modules/react-native/ReactCommon/yoga"
|
:path: "../node_modules/react-native/ReactCommon/yoga"
|
||||||
|
|
||||||
@ -3005,6 +3015,7 @@ SPEC CHECKSUMS:
|
|||||||
abseil: d121da9ef7e2ff4cab7666e76c5a3e0915ae08c3
|
abseil: d121da9ef7e2ff4cab7666e76c5a3e0915ae08c3
|
||||||
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
|
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
|
||||||
BoringSSL-GRPC: 1e2348957acdbcad360b80a264a90799984b2ba6
|
BoringSSL-GRPC: 1e2348957acdbcad360b80a264a90799984b2ba6
|
||||||
|
BVLinearGradient: 880f91a7854faff2df62518f0281afb1c60d49a3
|
||||||
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
|
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
|
||||||
EXConstants: 409690fbfd5afea964e5e9d6c4eb2c2b59222c59
|
EXConstants: 409690fbfd5afea964e5e9d6c4eb2c2b59222c59
|
||||||
EXJSONUtils: 30c17fd9cc364d722c0946a550dfbf1be92ef6a4
|
EXJSONUtils: 30c17fd9cc364d722c0946a550dfbf1be92ef6a4
|
||||||
@ -3113,6 +3124,7 @@ SPEC CHECKSUMS:
|
|||||||
RNGestureHandler: 20a4307fd21cbff339abfcfa68192f3f0a6a518b
|
RNGestureHandler: 20a4307fd21cbff339abfcfa68192f3f0a6a518b
|
||||||
RNReanimated: d51431fd3597a8f8320319dce8e42cee82a5445f
|
RNReanimated: d51431fd3597a8f8320319dce8e42cee82a5445f
|
||||||
RNScreens: 30249f9331c3b00ae7cb7922e11f58b3ed369c07
|
RNScreens: 30249f9331c3b00ae7cb7922e11f58b3ed369c07
|
||||||
|
RNSVG: 5da7a24f31968ec74f0b091e3440080f347e279b
|
||||||
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
|
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
|
||||||
Yoga: bd92064a0d558be92786820514d74fc4dddd1233
|
Yoga: bd92064a0d558be92786820514d74fc4dddd1233
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user