Add a composite GitHub Action for the validator

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

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, javascript
Área
ci-cd

Línea de trabajo

Start with the validator command and its inputs, then read the repository README and .github/workflows/ci.yml to see how the valid and invalid examples are run. Add action.yml with the requested config, path and strict inputs, and wire the workflow to exercise the action on both examples. It is done when the action passes the valid example, fails the invalid one with the validator’s exit code, and the README shows a uses: block.

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

Descripción

ci enhancement wave

Context

Using the validator in CI means installing Node, checking out the repository and remembering the command. A small composite action makes the convention enforceable in one step.

Scope

  • action.yml
  • README.md
  • .github/workflows/ci.yml

Acceptance criteria

  • The action accepts config, path and strict inputs.
  • It runs the validator and exits with its code.
  • A workflow tests the action against the valid and invalid examples.
  • The README shows the uses: block.

Verification

gh workflow view ci

Complexity

Medium (4 hours)

Part of Stellar Wave. Comment to claim this issue before starting.

Lenguaje dominante
JavaScript
Estrellas
0
Forks
1
Merge medio
14 h 38 min
PR fusionados (30 d)
9

Preparar el entorno

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 codepacct/codepact-conventions

Todos los issues de codepacct/codepact-conventions

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.