@akash-chowdhury-24/deployhub 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -127,6 +127,14 @@ export function getCliInstallSpec(cliSource) {
|
|
|
127
127
|
return normalized;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
/**
|
|
131
|
+
* npm/npx command to run deployhub build using the installed scoped package.
|
|
132
|
+
* @returns {string}
|
|
133
|
+
*/
|
|
134
|
+
export function getCliBuildCommand() {
|
|
135
|
+
return `npx --no-install ${NPM_PACKAGE} build`;
|
|
136
|
+
}
|
|
137
|
+
|
|
130
138
|
/**
|
|
131
139
|
* @returns {string}
|
|
132
140
|
*/
|
|
@@ -335,7 +343,7 @@ ${githubGitConfigStep} - name: Install project dependencies
|
|
|
335
343
|
run: ${installDepsCommand}
|
|
336
344
|
${platformSteps ? `${platformSteps}\n` : ''} - name: Install DeployHub CLI
|
|
337
345
|
run: npm install ${installSpec} --no-save
|
|
338
|
-
- run:
|
|
346
|
+
- run: ${getCliBuildCommand()}
|
|
339
347
|
env:
|
|
340
348
|
${envBlock}
|
|
341
349
|
`;
|