A workflow for the entire team
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 50/100
Direzione di ricerca
Apri .github/workflows/node.js.yml da un nuovo branch e ispeziona la configurazione esistente di Node.js nel workflow. Limita i suoi target di build a Node.js 12.x e 14.x, quindi apri una pull request con il titolo “Improve CI”; la modifica richiesta al workflow e la pull request costituiscono il completamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Custom workflow
Now that we've learned how to quickly set up CI, let's try a more realistic use case.
Our fictional team has a custom workflow that goes beyond the template we've used so far. We would like the following features:

Test against multiple targets so that we know if our supported operating systems and Node.js versions are working

Dedicated test job so that we can separate out build from test details

Access to build artifacts so that we can deploy them to a target environment

Branch protections so that the main branch can't be deleted or inadvertently broken

Required reviews so that any pull requests are double checked by teammates

Obvious approvals so we can merge quickly and potentially automate merges and deployments
Step 7: Create a custom GitHub Actions workflow
Can GitHub Actions support this workflow? Let's find out. We'll tackle some of the changes to the existing workflow file first.
⌨️ Activity: Edit the existing workflow with new build targets
- Edit your existing workflow file in a new branch
- In that file, target versions
12.xand14.xof Node, only - Open a new pull request titled Improve CI for your change.
I'll respond when you open the pull request.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di distante/github-actions-for-ci
-
There's a bug!Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
Tutte le issue di distante/github-actions-for-ci
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ONLYOFFICE/DocumentServer#3917 ·
-
Flaky test: query-sql-streaming terminal memory guard misses the expected budget errorForse già presa @platypii l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MillenniumMachines/MOS-nxt#62 ·
I maintainer di solito rispondono entro 1 giorno
-
Better keyboard navigationApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
xenharmonic-devs/scale-workshop#1005 ·