Node Build
Description
Install dependencies, build, and upload a build artifact
Inputs
| name | description | required | default |
|---|---|---|---|
INSTALL_CMD |
Install command |
false |
npm ci |
BUILD_SCRIPT |
npm script to run for the main build |
false |
build:stage |
EXTRA_BUILD_SCRIPT |
Optional additional npm script to run after the main build |
false |
"" |
ARTIFACT_NAME |
Name to give the uploaded artifact |
false |
dist |
ARTIFACT_PATH |
Path to upload as the artifact |
false |
dist |
COPY_PRISMA_ENGINE |
Copy the Prisma query engine binaries into the build directory |
false |
false |
WORKING_DIRECTORY |
Working directory for install, build, and artifact steps |
false |
. |
UPLOAD_ARTIFACT |
Whether to upload the build artifact |
false |
true |
Runs
This action is a composite action.