Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

We should setup some CI/CD for this project

Abierto
#19 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
github-actions, typescript
Área
ci-cd, cloud, devops

Línea de trabajo

Comienza revisando las comprobaciones de calidad existentes de GitHub Actions y el PR #16; después, compara las tres opciones de despliegue de Heroku y los permisos de organización o secretos que requieren. Se considerará completado cuando los maintainers hayan seleccionado un enfoque y los despliegues estén automatizados con la configuración necesaria documentada.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

CI and Software Quality

@crondinini has done a great job getting us started with software quality checks, introducing a testing approac and linting with tsc and ESLint. These checks run on every PR using GitHub Actions and are reported as part of the PR which is really helpful.

CD

The application is currently deployed to a Heroku account that I setup for this project. The code has so far been deployed manually from a forked repo, to which Heroku has been granted access.

Issues

In the Heroku project setting it is possible to connect to a GitHub repository, after which manual or automatic deployments can be made. To enable this integration Heroku requests permissions at an organisation level.

By requesting this approval, you are asking owners of the Developer-DAO organization to allow this application to access private organization data and modify public organization data.

This feels like it might be too intrusive for integrating to this organisation, so we have not requested permission.

Options
1) Heroku -> GitHub integration

If the integration with Heroku and the permissions that it requests are deemed acceptable by the core maintainers of this organisation, then we could go ahead and setup automatic deployments this way.

2) GitHub Actions - Heroku API

It is possible to setup an Action that deploys to Heroku on every push to a specific branch.
#16 Is a PR that would add such an action.
Additionally we would need to configure some secrets in the project to support connecting to the Heroku API to perform the deployment.

secrets.HEROKU_API_KEY
secrets.HEROKU_APP_NAME
secrets.HEROKU_EMAIL
3) Git Push

It is possible to add a Heroku application as a remote on a git repo and push code to perform a deployment. This would require a process that could checkout the repository and push it to Heroku. I don't know if this is something that can be done in GitHub Actions, but is something I have configured previously in CI systems like Jenkins, Bamboo, etc.

Heroku has a document outlining 6 options for deploying where some other options are discussed. The only other one that might be of interest is dockerizing the application, but I don't know how well this would work with the heroku free plans.

Lenguaje dominante
TypeScript
Estrellas
29
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Developer-DAO/devie-bot

Todos los issues de Developer-DAO/devie-bot

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.