Skip to content

Commit dac88c5

Browse files
committed
Build before publish script
1 parent 9f014fb commit dac88c5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/node-simple-pnpm.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ on:
167167
required: true
168168
default: 'build'
169169

170+
build-before-publish-script-name:
171+
description: |
172+
The name of a build before publish script
173+
type: string
174+
required: false
175+
170176
is-electron-application:
171177
description: |
172178
If 'true' enables cache for an Electron application,
@@ -798,7 +804,7 @@ jobs:
798804
PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }}
799805
# PL_DOCKER_REGISTRY_PUSH_TO: "quay.io/milaboratories/pl-containers" # until MILAB-4008 is resolved
800806
with:
801-
build-script-name: ${{ inputs.build-script-name }}
807+
build-script-name: ${{ inputs.build-before-publish-script-name || inputs.build-script-name }}
802808
tests: 'false'
803809
test-script-name: ${{ inputs.test-script-name }}
804810
pnpm-recursive-build: ${{ inputs.pnpm-recursive-build }}

0 commit comments

Comments
 (0)