Make GitHub actions workflow steps reusable

Offen
#707 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
github-actions, node.js, react, typescript
Bereich
build-system, ci-cd

Rechercherichtung

Start by comparing the repeated build steps and Node version settings across the CI workflows; the issue does not name their file paths. Decide whether to share repository environment values or extract the repeated steps into a reusable action, then verify the workflows use the shared configuration and still run successfully.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

maintenance

How to share Node versions across CI workflows:

  • sharing the env across workflows so the Node versions are defined once for all workflows or even once for the whole repository (if GitHub permits),
  • or moving the repeated build steps into a shared action like Spirit has it.

Originally posted by @adamkudrna in https://github.com/react-ui-org/react-ui/pull/701#discussion_r2975747829

Vorherrschende Sprache
TypeScript
Sterne
23
Forks
10
Ø Merge
5 T. 14 Std.
Gemergte PRs (30 T.)
9

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus react-ui-org/react-ui

Alle Issues in react-ui-org/react-ui

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.