Skip to content

feat(create-cli): add CI/CD setup step#1266

Open
hanna-skryl wants to merge 1 commit intomainfrom
ci-setup-step
Open

feat(create-cli): add CI/CD setup step#1266
hanna-skryl wants to merge 1 commit intomainfrom
ci-setup-step

Conversation

@hanna-skryl
Copy link
Collaborator

Closes #1246

A CI/CD integration prompt is added to the create-cli setup wizard. Users can select GitHub Actions or GitLab CI/CD (or skip) to generate the appropriate workflow configuration.

GitHub Actions outputs a .github/workflows/code-pushup.yml with monorepo support when applicable. GitLab CI/CD creates .gitlab-ci.yml or a separate file to include in it if one already exists. The CI provider can also be set via --ci CLI argument, and defaults to skip with --yes.

@nx-cloud
Copy link

nx-cloud bot commented Mar 10, 2026

View your CI Pipeline Execution ↗ for commit ee84cbb

Command Status Duration Result
nx run ci:code-pushup -- merge-diffs --files=/h... ✅ Succeeded 6s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 1m 34s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 14m 12s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-10 17:52:44 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 10, 2026

Open in StackBlitz

@code-pushup/ci

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/ci@1266

@code-pushup/cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/cli@1266

@code-pushup/core

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/core@1266

@code-pushup/create-cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/create-cli@1266

@code-pushup/models

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/models@1266

@code-pushup/nx-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/nx-plugin@1266

@code-pushup/axe-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/axe-plugin@1266

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-plugin@1266

@code-pushup/coverage-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/coverage-plugin@1266

@code-pushup/js-packages-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/js-packages-plugin@1266

@code-pushup/jsdocs-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/jsdocs-plugin@1266

@code-pushup/lighthouse-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/lighthouse-plugin@1266

@code-pushup/typescript-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/typescript-plugin@1266

@code-pushup/utils

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/utils@1266

commit: ee84cbb

@github-actions
Copy link
Contributor

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit a92f51e with previous commit 9468272.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 28 🔴 33 ↑ +5.3
Best Practices 🟢 97 🟢 100 ↑ +3.4
Documentation 🟡 52 🟡 52 ↓ −0.1
Code coverage 🟢 92 🟢 92 ↓ −0.1
Bug prevention 🟡 75 🟡 75 ↓ −0.1
Axe Accessibility 🟡 88 🟡 88 ↓ −0.1
Code style 🟢 100 🟢 100
Security 🔴 0 🔴 0
Updates 🟡 73 🟡 73
Type Safety 🟡 67 🟡 67
Miscellaneous 🟡 67 🟡 67
Accessibility 🟢 92 🟢 92
SEO 🟢 92 🟢 92
👍 2 groups improved, 👎 2 groups regressed, 👍 7 audits improved, 👎 6 audits regressed, 11 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 28 🔴 33 ↑ +5.3
Lighthouse Best Practices 🟢 97 🟢 100 ↑ +3.4
JSDocs coverage Documentation coverage 🟡 52 🟡 52 ↓ −0.1
Code coverage Code coverage metrics 🟢 92 🟢 92 ↓ −0.1

30 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Initial server response time was short 🟩 Root document took 520 ms 🟥 Root document took 610 ms ↑ +16.8 %
Lighthouse No browser errors logged to the console 🟥 failed 🟩 passed ↑ +∞ %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 97 KiB 🟨 Potential savings of 98 KiB ↓ −100 %
Lighthouse Speed Index 🟥 10.3 s 🟥 6.8 s ↓ −34.4 %
Lighthouse First Contentful Paint 🟥 4.1 s 🟥 3.2 s ↓ −22.5 %
Lighthouse Time to Interactive 🟥 26.2 s 🟥 14.3 s ↓ −45.5 %
Lighthouse Total Blocking Time 🟥 9,250 ms 🟥 3,950 ms ↓ −57.3 %
Code coverage Line coverage 🟩 92.8 % 🟩 92.6 % ↓ −0.2 %
JSDocs coverage Functions coverage 🟥 618 undocumented functions 🟥 626 undocumented functions ↑ +1.3 %
JSDocs coverage Variables coverage 🟥 282 undocumented variables 🟥 286 undocumented variables ↑ +1.4 %
JSDocs coverage Types coverage 🟥 277 undocumented types 🟥 278 undocumented types ↑ +0.4 %
Code coverage Function coverage 🟩 94.1 % 🟩 94.1 % ↑ +0.1 %
Code coverage Branch coverage 🟨 89.2 % 🟨 89.2 % ↓ −0.1 %
Lighthouse Server Backend Latencies 🟩 16,520 ms 🟩 230 ms ↓ −98.6 %
Lighthouse Metrics 🟩 100% 🟩 100% ↓ −45.5 %
Lighthouse Minimizes main-thread work 🟥 21.6 s 🟥 12.6 s ↓ −41.8 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,386 KiB 🟩 Total size was 2,379 KiB ↓ −0.3 %
Lighthouse JavaScript execution time 🟥 9.3 s 🟥 5.3 s ↓ −43.2 %
Lighthouse Max Potential First Input Delay 🟥 2,550 ms 🟥 1,250 ms ↓ −51.1 %
Lighthouse Largest Contentful Paint 🟥 13.8 s 🟥 12.6 s ↓ −8.5 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 343 KiB 🟥 Potential savings of 342 KiB ↑ +58.3 %
Lighthouse Network Round Trip Times 🟩 580 ms 🟩 10 ms ↓ −97.7 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 31 resources found ↓ −0.1 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 111 KiB 🟥 Potential savings of 111 KiB ↓ −30.9 %

654 other audits are unchanged.

@hanna-skryl hanna-skryl marked this pull request as ready for review March 10, 2026 17:35
@github-actions
Copy link
Contributor

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit a92f51e with previous commit 9468272.

💼 Project create-cli

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 91 🟢 91 ↑ +0.8
Documentation 🔴 24 🔴 24 ↓ −0.5

4 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 2 audits improved, 👎 3 audits regressed, 1 audit changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 91 🟢 91 ↑ +0.8
JSDocs coverage Documentation coverage 🔴 24 🔴 24 ↓ −0.5

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDocs coverage Functions coverage 🟥 39 undocumented functions 🟥 47 undocumented functions ↑ +20.5 %
JSDocs coverage Types coverage 🟥 13 undocumented types 🟥 14 undocumented types ↑ +7.7 %
Code coverage Function coverage 🟨 89.5 % 🟩 90.8 % ↑ +1.4 %
Code coverage Line coverage 🟩 93.8 % 🟩 94.6 % ↑ +0.8 %
Code coverage Branch coverage 🟩 92.2 % 🟩 91.9 % ↓ −0.3 %
JSDocs coverage Variables coverage 🟥 13 undocumented variables 🟥 17 undocumented variables ↑ +30.8 %

437 other audits are unchanged.

💼 Project plugin-jsdocs

🥳 Code PushUp report has improved.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 97 🟢 98 ↑ +0.7

5 other categories are unchanged.

👍 1 group improved, 👍 2 audits improved

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 97 🟢 98 ↑ +0.7

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Line coverage 🟩 96 % 🟩 100 % ↑ +4.2 %
Code coverage Branch coverage 🟩 92.5 % 🟩 93.6 % ↑ +1.2 %

442 other audits are unchanged.

💼 Project plugin-coverage

🥳 Code PushUp report has improved.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 92 🟢 92 ↑ +0.4

5 other categories are unchanged.

👍 1 group improved, 👍 2 audits improved

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 92 🟢 92 ↑ +0.4

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Line coverage 🟨 89.1 % 🟩 92.6 % ↑ +4 %
Code coverage Branch coverage 🟨 89.6 % 🟨 89.8 % ↑ +0.2 %

442 other audits are unchanged.

💼 Project utils

😟 Code PushUp report has regressed.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 95 🟢 95 ↓ −0.1

5 other categories are unchanged.

👎 1 group regressed, 👎 1 audit regressed

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 95 🟢 95 ↓ −0.1

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 91.4 % 🟩 91.4 % ↓ −0.1 %

443 other audits are unchanged.


10 other projects are unchanged.

@hanna-skryl hanna-skryl requested a review from matejchalk March 10, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create CI/CD job in setup wizard

1 participant