.github/workflows/vercel-app.yaml
This reusable action builds, tests and deploys an application to Vercel.
Requires a vercel.json and .nvmrc in the source repository.
ci-cd:
name: CI/CD
permissions:
contents: read
packages: read
deployments: write
uses: significa/actions/.github/workflows/vercel-app.yaml@main
with:
npm_scope: "@significa"
secrets:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}install_commandlint_commandtest_commandnpm_scopeinstall_registry_urlref_name_to_vercel_environment
VERCEL_TOKENVERCEL_ORG_IDVERCEL_PROJECT_ID