Code Monkey home page Code Monkey logo

.github's Introduction

Workflow Templates

Apps Deploy

To deploy an app, workflows appDeployDev and appDeployProd deploy to AWS.

  • appDeployDev: deploy the application dev build to AWS each time a commit is pushed in the main branch. The version is set to latest.

  • appDeployProd: deploy the application production build to AWS each time a tag is pushed. The version is set to latest.

Depending on the framework and needs, you will need to rename some variables. For example, for React applications, you will rename APPS_DEVELOPER_ID to REACT_APP_APPS_DEVELOPER_ID.

For each app, you will need to set in the repository's secrets

  • APP_ID

The published app will be available at https://<BUCKET>/<APPS_DEVELOPER_ID>/<APP_ID>/<VERSION>/index.html.

.github's People

Contributors

pyphilia avatar spaenleh avatar swouf avatar victorggonzalez avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

.github's Issues

Create action to check package.json

Create a Github Action that parses package.json and ensures that it follows our conventions:

  • check that the version of the dependencies values is always a fixed semver (regex is ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ from the semver spec). In particular, github:... and ranged semvers should not be allowed.
  • check that name is name of repo
  • check license
  • check that resolutions is minimal, and that the versions are expected

It shoud prevent branches from being merged if the conditions are not met

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.