Skip to content

Commit 5c17250

Browse files
authored
Merge pull request #135 from milaboratory/v4-beta
Build before publish script
2 parents 9d3b8c5 + dac88c5 commit 5c17250

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,
@@ -799,7 +805,7 @@ jobs:
799805
PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }}
800806
# PL_DOCKER_REGISTRY_PUSH_TO: "quay.io/milaboratories/pl-containers" # until MILAB-4008 is resolved
801807
with:
802-
build-script-name: ${{ inputs.build-script-name }}
808+
build-script-name: ${{ inputs.build-before-publish-script-name || inputs.build-script-name }}
803809
tests: 'false'
804810
test-script-name: ${{ inputs.test-script-name }}
805811
pnpm-recursive-build: ${{ inputs.pnpm-recursive-build }}

0 commit comments

Comments
 (0)