Giter Club home page Giter Club logo

seaeye's Introduction

SEA-EYE ๐Ÿ‘€

No frils collection of common actions and pre-made workflows for TypeScript project that uses yarn@v1 as package manager.

Workflows

  • Build - run build, lint and test

Actions

  • Yarn Cache - cache installed deps
- uses: vtno/seaeye/.github/actions/[email protected]
  with:
    node-version: "16" # override the default version here
    working-dir: "." # override working dir to run the command here
  • Yarn Install - install deps and cache using Yarn Cache action
- uses: vtno/seaeye/.github/actions/[email protected]
  with:
    node-version: "16" # override the default version here
    working-dir: "." # override working dir to run the command here
  • Yarn Build - build with cached deps
- uses: vtno/seaeye/.github/actions/[email protected]
  with:
    node-version: "16" # override the default version here
    working-dir: "." # override working dir to run the command here
  • Yarn Test - test with cached deps
- uses: vtno/seaeye/.github/actions/[email protected]
  with:
    node-version: "16" # override the default version here
    working-dir: "." # override working dir to run the command here
  • Yarn Lint - lint with cached deps
- uses: vtno/seaeye/.github/actions/[email protected]
  with:
    node-version: "16" # override the default version here
    working-dir: "." # override working dir to run the command here
  • Kumose Deployment - trigger for Kumose deployment
- uses: vtno/seaeye/.github/actions/[email protected]
  with:
    basic_auth_token: "" # Provide the basic auth token here
    kumose_app_id: "" # Provide the Kumose app ID here
    version: "latest" # Specify the version here

Examples

  1. Using the build workflow - workflow_test.yml
jobs:
  call-build-workflow:
    uses: vtno/seaeye/.github/workflows/[email protected]
    with:
      working-dir: example
  1. Using Yarn Test action - build.yml

seaeye's People

Contributors

jakkapongch avatar npcopter avatar vtno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

seaeye's Issues

Supports PNPM

There is a feature request to support PNPM. This is another package manager which is relatively new but should be fairly similar to Yarn and NPM.

Supports NPM

We should supports NPM as it's the default package manager which means more people will benefit from this. It should be fairly straightforward.

The only concern is the caching mechanism might needs to be customized.

Docker image publish to Digital Ocean Image Registry

I have a use case where I would like to build and releasee a docker image to a remote registry. The first one that would be of any use for me is DO.

This could be 2 actions:

  1. docker-build
  2. docker-release

and another workflow

  1. docker-build-and-release

Acceptance Criteria

  • User should be able to add custom ENVs into the action to build their image
  • User should be able to apply their DO token to authenticate
  • The build should be cached and reusable between 2 actions

Deployment to Digital Ocean Kubernetes with Helm

Another feature to complete the dev -> prd pipeline is a deployment. I have my own use case of releasing an application to K8s cluster with a Helm so this would be an ideal first deployment action.

Acceptance Criteria

  • Supports Helm 3 only
  • Authentication with DO
  • Wait for the release to be complete before going green
  • User should be able to provide custom helm chart and override value for the build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.