Skip to content

Prepare everything needed for a Nodejs app in a monorepo (cache, dependencies, ...)

License

Notifications You must be signed in to change notification settings

gogaille/setup-monorepo-node-app

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Setup monorepo node app

Setup a node app in a monorepo:

  1. Sparse checkout the monorepo directory of the Nodejs app
  2. Setup Nodejs required version
  3. Install dependencies thanks to yarn2

Inputs

node-version

Required Nodejs version. Default "20".

working-directory

Required Directory of the node application in the mono repo. Default ".".

Example usage

- uses: gogaille/setup-monorepo-node-app
  with:
    node-version: 20
    working-directory: some-node-app-dir
- uses: gogaille/setup-monorepo-node-app
  with:
    node-version: 20
    working-directory: some-node-app-dir
    other-patterns-to-sparse-checkout: .github

About

Prepare everything needed for a Nodejs app in a monorepo (cache, dependencies, ...)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published