We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181ec1b commit 4c2f24cCopy full SHA for 4c2f24c
.github/workflows/release-creation.yml
@@ -13,6 +13,11 @@ on:
13
type: string
14
required: false
15
default: ci-workflow.yml
16
+ build:
17
+ description: Flag to run `npm run build` before publishing
18
+ type: boolean
19
+ required: false
20
+ default: false
21
secrets:
22
# Cannot rely on environment secrets(i.e. from node-newrelic settings or org level)
23
# in a reusable workflow. We must pass it in, see create-release.yml
@@ -48,6 +53,9 @@ jobs:
48
53
npm install
49
54
# Install deps in agent repo
50
55
npm install --prefix agent-repo
56
+ - name: Build project
57
+ if: ${{ inputs.build }}
58
+ run: npm run build
51
59
- name: Setup GitHub Credentials
52
60
run: |
61
git config user.name $GITHUB_ACTOR
0 commit comments