Part 1: Upload the Build Artifact

1. Open the existing workflow

Open:

.github/workflows/ci.yml

2. Locate the existing build job

Make sure it already contains:

npm run build

3. Verify the build output folder

Example:

dist/

4. Add an artifact upload step

Use:

actions/upload-artifact@v4

Configure:

Property Value
name app-build
path dist/

Part 2: Create the Docker Job