How to create and test a GitHub Action that generates Supabase database types

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Billy

    Discontinued 💵 Bill Tracker App, made with React Native (TS)

    Running the script generates a file like this. With the definitions that are generated there, I could create a type for Bill with just the code block below.

  • flowchart-fun

    Easily generate flowcharts and diagrams from text ⿻

    We see quite a few results, and luckily, in the 3rd project called tone-row/flowchart-fun, I see that they have package.json script that looks like a promising candidate. They have variables such as SB_URL and SB_ANON_KEY which resemble Supabase stuff ✨

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • article-badge-counter-workflow

    Discontinued GitHub Action Workflow that complements blog-post-workflow to generate a Shields.io badge. Intended to be easy like ABC [Moved to: https://github.com/lyqht/article-badge-counter-github-action]

    In the next section, I’ll introduce you to a handy tool that I learnt while building a custom composite GitHub action to test GitHub actions locally.

  • act

    Run your GitHub Actions locally 🚀

    Refer to the GitHub repository README.md to see how to install act. You would need Docker installed too. The first time you start up act, you will be asked to choose the image that you want to create. For this GitHub Action, to test the functionality of updating the database types, the Micro image should be sufficient.

  • generate-supabase-db-types-github-action

    GitHub Action to generate Supabase Database Types

    Since publishing the original article, I also created a GitHub action that does what is listed above. Check it out here!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts