Skip to content

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

Merged
hanna-skryl merged 4 commits intomainfrom
ci-setup-step
Mar 11, 2026
Merged

feat(create-cli): add CI/CD setup step#1266
hanna-skryl merged 4 commits 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 aae422e

Command Status Duration Result
nx run-many -t unit-test,int-test ✅ Succeeded 2m 7s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-11 19:47:29 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/coverage-plugin

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

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-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: aae422e

@github-actions
Copy link
Contributor

github-actions bot commented Mar 10, 2026

Code PushUp

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

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 28 🔴 35 ↑ +6.6
Best Practices 🟢 97 🟢 100 ↑ +3.4
Code coverage 🟢 92 🟢 92 ↓ −0.1
Documentation 🟡 52 🟡 52 ↓ −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, 👍 5 audits improved, 👎 6 audits regressed, 15 audits changed without impacting score

🗃️ Groups

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

30 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse No browser errors logged to the console 🟥 failed 🟩 passed ↑ +∞ %
Lighthouse Speed Index 🟥 10.3 s 🟥 6.1 s ↓ −41.2 %
Lighthouse First Contentful Paint 🟥 4.1 s 🟥 3.2 s ↓ −22.6 %
Lighthouse Time to Interactive 🟥 26.2 s 🟥 14.3 s ↓ −45.4 %
Lighthouse Total Blocking Time 🟥 9,250 ms 🟥 3,350 ms ↓ −63.7 %
Code coverage Line coverage 🟩 92.8 % 🟩 92.6 % ↓ −0.3 %
JSDocs coverage Functions coverage 🟥 618 undocumented functions 🟥 628 undocumented functions ↑ +1.6 %
JSDocs coverage Variables coverage 🟥 282 undocumented variables 🟥 286 undocumented variables ↑ +1.4 %
Code coverage Branch coverage 🟨 89.2 % 🟨 89.1 % ↓ −0.1 %
JSDocs coverage Types coverage 🟥 277 undocumented types 🟥 278 undocumented types ↑ +0.4 %
Code coverage Function coverage 🟩 94.1 % 🟩 94.1 % ↓ −0.1 %
Lighthouse Server Backend Latencies 🟩 16,520 ms 🟩 1,340 ms ↓ −91.9 %
Lighthouse Metrics 🟩 100% 🟩 100% ↓ −45.4 %
Lighthouse Minimizes main-thread work 🟥 21.6 s 🟥 11.8 s ↓ −45.2 %
Lighthouse JavaScript execution time 🟥 9.3 s 🟥 4.6 s ↓ −50.4 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,386 KiB 🟩 Total size was 2,383 KiB ↓ −0.2 %
Lighthouse Max Potential First Input Delay 🟥 2,550 ms 🟥 980 ms ↓ −61.4 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 343 KiB 🟥 Potential savings of 322 KiB ↑ +67.6 %
Lighthouse Network Round Trip Times 🟩 580 ms 🟩 20 ms ↓ −96.5 %
Lighthouse Largest Contentful Paint 🟥 13.8 s 🟥 13.4 s ↓ −2.9 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 31 resources found ↑ +0.1 %
Lighthouse Initial server response time was short 🟩 Root document took 520 ms 🟩 Root document took 350 ms ↓ −33.7 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 97 KiB 🟥 Potential savings of 102 KiB ↓ −21.1 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 111 KiB 🟥 Potential savings of 111 KiB ↓ −11.8 %
JS packages Vulnerabilities for npm dev dependencies. 🟥 62 vulnerabilities (3 critical, 40 high, 12 moderate, 7 low) 🟥 72 vulnerabilities (3 critical, 40 high, 22 moderate, 7 low) ↑ +16.1 %
JS packages Vulnerabilities for npm prod dependencies. 🟥 17 vulnerabilities (1 critical, 6 high, 3 moderate, 7 low) 🟥 18 vulnerabilities (2 critical, 6 high, 3 moderate, 7 low) ↑ +5.9 %

652 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

github-actions bot commented Mar 10, 2026

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit d5440bb 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
Documentation 🔴 24 🔴 24 ↓ −0.6
Code coverage 🟢 91 🟢 91 ↑ +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
JSDocs coverage Documentation coverage 🔴 24 🔴 24 ↓ −0.6
Code coverage Code coverage metrics 🟢 91 🟢 91 ↑ +0.5

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDocs coverage Functions coverage 🟥 39 undocumented functions 🟥 48 undocumented functions ↑ +23.1 %
JSDocs coverage Types coverage 🟥 13 undocumented types 🟥 14 undocumented types ↑ +7.7 %
Code coverage Function coverage 🟨 89.5 % 🟩 90.9 % ↑ +1.6 %
Code coverage Branch coverage 🟩 92.2 % 🟩 91 % ↓ −1.3 %
Code coverage Line coverage 🟩 93.8 % 🟩 94.1 % ↑ +0.3 %
JSDocs coverage Variables coverage 🟥 13 undocumented variables 🟥 17 undocumented variables ↑ +30.8 %

437 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 🟢 94 ↓ −0.1
Documentation 🟡 61 🟡 61 ↓ −0.1

4 other categories are unchanged.

👎 2 groups regressed, 👎 3 audits regressed

🗃️ Groups

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

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Function coverage 🟩 95.6 % 🟩 95.4 % ↓ −0.2 %
Code coverage Line coverage 🟩 97.7 % 🟩 97.6 % ↓ −0.1 %
JSDocs coverage Functions coverage 🟥 252 undocumented functions 🟥 253 undocumented functions ↑ +0.4 %

441 other audits are unchanged.


12 other projects are unchanged.

@hanna-skryl hanna-skryl requested a review from matejchalk March 10, 2026 17:53
@hanna-skryl hanna-skryl merged commit 9ae9a2c into main Mar 11, 2026
25 of 26 checks passed
@hanna-skryl hanna-skryl deleted the ci-setup-step branch March 11, 2026 20:09
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

2 participants