Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/al-un/ci-github-actions

Learning about GitHub actions
https://github.com/al-un/ci-github-actions

github-actions

Last synced: 12 days ago
JSON representation

Learning about GitHub actions

Awesome Lists containing this project

README

        

[![Master Code checking](https://github.com/Al-un/ci-github-actions/actions/workflows/main.yaml/badge.svg?branch=develop)](https://github.com/Al-un/ci-github-actions/actions/workflows/main.yaml?query=branch%3Adevelop)
[![Chromatic](https://github.com/Al-un/ci-github-actions/actions/workflows/chromatic.yaml/badge.svg?branch=develop)](https://www.chromatic.com/builds?appId=613c33aa6a019e003a9e8764&branch=develop)

# Github

- [Pull Request template](#pull-request-template)
- [GitHub actions](#github-actions)
- [Notes](#notes)

Testing various GitHub functionalities

## Pull Request template

- [Doc: Create a PR template](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository)
## GitHub actions

Testing Github Actions on a Vue 3 project:

- [x] Setup Github action 101: https://github.com/Al-un/ci-github-actions/pull/1

- [Doc: Quickstart](https://docs.github.com/en/actions/quickstart)
- [Doc: Overview](https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions)
- [Doc: Node.js build and test](https://docs.github.com/en/actions/guides/building-and-testing-nodejs?learn=continuous_integration)
- [Doc: Workflow badge](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge)

- [x] Improve with Parallel jobs (Like CircleCI fanning out) https://github.com/Al-un/ci-github-actions/pull/2

- [Doc: Creating a composite action](https://docs.github.com/en/actions/creating-actions/creating-a-composite-action?learn=create_actions)
- [Doc: `runs` for composite actions](https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actions)
- [GitHub Blog: Reduce duplication with action composition](https://github.blog/changelog/2021-08-25-github-actions-reduce-duplication-with-action-composition/)
- [Article: Stop wasting your time and create reusable actions](https://dev.to/n3wt0n/github-composite-actions-nest-actions-within-actions-3e5l)
- [Article: dependent jobs](https://www.edwardthomson.com/blog/github_actions_17_dependent_jobs.html)
- [Article: GitHub Actions: Cache Everything](https://www.jonathan-wilkinson.com/github-actions-cache-everything)

- [x] Require mandatory passing check

- [Doc: required status check](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks)
- [Doc: `on` syntax](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on)

- [x] Add Storybook + Chromatic checks: https://github.com/Al-un/ci-github-actions/pull/4
- [Doc: Setup GitHub action for Chromatic](https://www.chromatic.com/docs/github-actions)
- [Doc: Caveat with `actions/checkout@v2`](https://www.chromatic.com/docs/github-actions#support-for-codeactionscheckoutv2code)
- [Repo: `chromeaui/action`](https://github.com/chromaui/action)
- [Doc: `on` syntax](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags)

- [x] Concurrency
- [GitHub blog: limit workflow run or job concurrency](https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/)
- [Doc: concurrency](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency)
- [Doc: `github` context](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context)
## Notes

- End to end testing is broken
- Snapshot testing not working for unit tests :(