Skip to content

Commit 9be7a97

Browse files
committed
Añadiendo nueva funcionalidad para probar
1 parent 7b3023a commit 9be7a97

File tree

4 files changed

+258
-1
lines changed

4 files changed

+258
-1
lines changed

.github/workflows/eas-build.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# .github/workflows/eas-build.yml
2+
# Flujo de trabajo definitivo para compilar una APK de Android con EAS Build
3+
4+
name: Compilar APK para Android
5+
6+
# Define cuándo se ejecutará esta acción
7+
on:
8+
# Se activa cuando haces 'push' a la rama 'main'
9+
# Puedes cambiar 'main' a 'develop' o añadir más ramas
10+
push:
11+
branches:
12+
- main
13+
14+
# Define los trabajos a realizar
15+
jobs:
16+
build:
17+
# El trabajo se ejecutará en una máquina virtual de Ubuntu
18+
runs-on: ubuntu-latest
19+
20+
# Los pasos que seguirá el trabajo
21+
steps:
22+
# 1. Descarga tu código del repositorio a la máquina virtual
23+
- name: Checkout repository
24+
uses: actions/checkout@v4
25+
26+
# 2. Configura el entorno de Node.js
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 18
31+
32+
# 3. Instala las dependencias de tu proyecto (npm install)
33+
- name: Install dependencies
34+
run: npm install
35+
36+
# 4. Instala y configura Expo y EAS CLI.
37+
# Este es el paso clave donde nos autenticamos usando los secretos.
38+
- name: Setup Expo and EAS
39+
uses: expo/expo-github-action@v8
40+
with:
41+
# Inicia sesión usando el usuario y contraseña que guardamos en GitHub Secrets
42+
username: ${{ secrets.EXPO_CLI_USERNAME }}
43+
password: ${{ secrets.EXPO_CLI_PASSWORD }}
44+
# Especifica las versiones de las herramientas a usar
45+
expo-version: latest
46+
eas-version: latest
47+
48+
# 5. Ejecuta el comando de compilación de EAS
49+
- name: Start EAS Build
50+
# --non-interactive es crucial para que el proceso no se detenga a hacer preguntas
51+
run: eas build --platform android --profile preview --non-interactive

.gitpod.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This configuration file was automatically generated by Gitpod.
2+
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
3+
# and commit this file to your remote git repository to share the goodness with others.
4+
5+
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
6+
7+
tasks:
8+
- init: npm install
9+
command: npm run start
10+
11+

package-lock.json

Lines changed: 193 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@
2727
"react-dom": "18.2.0",
2828
"react-native": "0.76.0",
2929
"react-native-gesture-handler": "~2.20.2",
30+
"react-native-gifted-charts": "^1.4.61",
3031
"react-native-modal": "^13.0.1",
3132
"react-native-safe-area-context": "4.12.0",
3233
"react-native-screens": "4.0.0",
3334
"react-native-vector-icons": "^10.2.0",
3435
"react-native-web": "~0.19.9",
35-
"socket.io-client": "^4.8.1"
36+
"socket.io-client": "^4.8.1",
37+
"react-native-svg": "15.8.0"
3638
},
3739
"devDependencies": {
3840
"@babel/core": "^7.22.0"

0 commit comments

Comments
 (0)