Skip to content

Commit

Permalink
adds ci to the cli always for build typescript (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikey authored Sep 14, 2022
1 parent a950364 commit 09cd48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/function/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const run = (options: {

const build = () => {
console.log(Chalk.green(`Building function ${name} in ${buildDir}...`));
execSync(`npm run build:${debug ? "debug" : "release"};`, {
execSync(`npm ci; npm run build:${debug ? "debug" : "release"};`, {
cwd: path,
stdio: "inherit",
});
Expand Down

0 comments on commit 09cd48f

Please sign in to comment.