GitHub Action
Setup Monorepo node app
v1.2
Latest version
Setup a node app in a monorepo:
- Sparse checkout the monorepo directory of the Nodejs app
- Setup Nodejs required version
- Install dependencies thanks to yarn2
Required Nodejs version. Default "20"
.
Required Directory of the node application in the mono repo. Default "."
.
- 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