Skip to content

A monorepo to manage multiple Cloudflare Workers and automate the deployments by Github Actions.

Notifications You must be signed in to change notification settings

thinhle-agilityio/monorepo-github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MONOREPO GITHUB ACTIONS

A sample monorepo to automate deployments of multiple Cloudflare Workers.

Tech Stacks

  • Lerna
  • Cloudflare Workers
  • Github Actions

Notes

  • Github Actions listens the main branch and trigger on events push and pull_request
  • It detects changes automatically and only deploy changed packages

Installation and running

npm install

# Run all the workers
npx lerna run start

# Run a specific workers
npx lerna run start --scope=<package name>

Deployment

# Deploy all packages to the dev environment
npx lerna run deploy-dev

# Deploy all packages to prod environment
npx lerna run deploy

# Deploy a specific package
npx lerna run deploy --scope=<package name>

TODOS

Add multiple environments deployment through Github Actions base on branch name

  • dev
  • staging
  • production

About

A monorepo to manage multiple Cloudflare Workers and automate the deployments by Github Actions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published