This demo is based on the Turborepo starter.
It uses a GitHub Actions workflows to build and deploy applications.
web
is built usingvc deploy
to build and deploy on Vercel.docs
is built usingvc build
andvc deploy --prebuilt
to show how you can take more control of your build and deploy process. This process builds the application in the GitHub Action, and then deploys those prebuilt assets to Vercel.
Additionally, a foo
internal package has been added to demonstrate how to use the turbo
CLI to build internal dependencies prior to building the docs
application with the Vercel CLI.
The purpose of this directory is to demonstrate how to use GitHub Actions with Turborepo and Vercel CLI to build and deploy applications. It provides examples of building and deploying applications using different approaches, such as using vc deploy
and vc build
with vc deploy --prebuilt
.
.gitignore
: Specifies files and directories to be ignored by Git..npmrc
: Configuration file for npm.package.json
: Contains metadata about the project and its dependencies.pnpm-lock.yaml
: Lockfile for pnpm.pnpm-workspace.yaml
: Configuration file for pnpm workspace.turbo.json
: Configuration file for Turborepo.
To get started with the examples in this directory, you need to have the following dependencies installed:
To install the dependencies, run the following command:
pnpm install