/devops-projects

A quick intro to GitHub Actions.

Primary LanguageJavaScript

DevOps Projects

A quick intro to GitHub Actions.

React Project

A React project to understand how to use GitHub Actions.

See workflows 1 to 13

Features

  • understanding GithHub Actions.
  • finding and customizing actions.
  • running automated tests on a React project.
  • adding multiple jobs.
  • building project and simulating deployment.
  • running jobs after each other.
  • adding lint checks.
  • using activity types and event filters.
  • skipping workflows with [skip ci] in commit message.
  • working with artifacts and job outputs.
  • caching dependencies.
  • running jobs and steps conditionally.
  • running jobs with a matrix.
  • re-using workflows.
  • grouping steps in a custom composite action.
  • adding inputs and outputs to custom actions.
  • creating a custom JavaScript action.
  • creating a custom Docker action with Python.
  • working with third-party permissions and OpenID Connect.

Node/Express Project

A Node/Express project using MongoDB, GitHub secrets and Docker.

See workflows 14 to 17

Features

  • setting up a MongoDB database on Atlas.
  • using environment variables.
  • using secrets.
  • utilizing job environments.
  • utilizing Docker containers.
  • running jobs in containers.
  • using service containers.
  • securing workflows against script injections.
  • using actions provided by verified creators.
  • working with GitHub tokens, permissions and repo security settings.

Based on Learn GitHub Actions by GitHub and GitHub Actions - The Complete Guide by Maximilian Schwarzmüller (2022).