Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 695 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 695 Bytes

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