Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/cli/templates/adonis-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ ${withCommitlint ? commitLintCi() : ""}

- name: Build
run: npm run build
if: always()`;
if: always()
`;
3 changes: 2 additions & 1 deletion src/cli/templates/nestjs-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ ${withCommitlint ? commitLintCi() : ""}

- name: Build
run: npm run build
if: always()`;
if: always()
`;
5 changes: 3 additions & 2 deletions src/cli/templates/react-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${nodeVersion}
cache: 'npm'
cache: "npm"
${usingNextJs ? nextJsCi() : ""}
- name: Install dependencies
run: npm ci
Expand All @@ -40,4 +40,5 @@ ${withCommitlint ? commitLintCi() : ""}

- name: Build
run: npm run build
if: always()`;
if: always()
`;
2 changes: 1 addition & 1 deletion src/utils/package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class PackageJson {
async save() {
await writeFile(
path.join(projectRoot(), "package.json"),
JSON.stringify(this.json, null, 2),
`${JSON.stringify(this.json, null, 2)}\n`,
);
}

Expand Down
Loading