Add a composite GitHub Action for the validator

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, javascript
Ambito
ci-cd

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
0
Fork
1
Merge medio
14h 38m
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codepacct/codepact-conventions

Tutte le issue di codepacct/codepact-conventions

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.