Skip to content

cjsheets/gatsby-netlify-ci

Repository files navigation

🤖 Continuous Integration Prototype

example workflow

Netlify Status Uptime Robot status Uptime Robot ratio


Barebones prototype of CI patterns using Gatsby, Github Actions and Netlify.

Overview

App features and descriptions include:

  1. Branch Protection
  2. Linting*
  3. Unit Testing
  4. Acceptance Testing
  5. Automated Deployments
  6. Monitoring

* I'd usually include type-checking, but this repo is in javascript for simplicity.

Setting Up Gatsby

Gatsby configuration as simple as possible to keep the project focused on CI.

I chose to include prettier and styled-components but not typescript to reduce boilerplate.

  1. Follow the Gatsby quick start guide.
  2. Setup eslint and (optionally) prettier.
  3. Configure gatsby-config.js and gatsby-node.js

Notable dependencies

About

Continuous Integration using Github Actions and Netlify

Topics

Resources

License

Stars

Watchers

Forks