feat(create-cli): add CI/CD setup step#1266
Conversation
|
View your CI Pipeline Execution ↗ for commit aae422e
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/core
@code-pushup/create-cli
@code-pushup/models
@code-pushup/nx-plugin
@code-pushup/axe-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
commit: |
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👍 2 groups improved, 👎 2 groups regressed, 👍 5 audits improved, 👎 6 audits regressed, 15 audits changed without impacting score🗃️ Groups
30 other groups are unchanged. 🛡️ Audits
652 other audits are unchanged. |
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit d5440bb with previous commit 9468272. 💼 Project
|
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Documentation | 🔴 24 | 🔴 24 | |
| Code coverage | 🟢 91 | 🟢 91 |
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 | |
| Code coverage | Code coverage metrics | 🟢 91 | 🟢 91 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| JSDocs coverage | Functions coverage | 🟥 39 undocumented functions | 🟥 48 undocumented functions | |
| JSDocs coverage | Types coverage | 🟥 13 undocumented types | 🟥 14 undocumented types | |
| Code coverage | Function coverage | 🟨 89.5 % | 🟩 90.9 % | |
| Code coverage | Branch coverage | 🟩 92.2 % | 🟩 91 % | |
| Code coverage | Line coverage | 🟩 93.8 % | 🟩 94.1 % | |
| JSDocs coverage | Variables coverage | 🟥 13 undocumented variables | 🟥 17 undocumented variables |
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 | |
| Documentation | 🟡 61 | 🟡 61 |
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 | |
| JSDocs coverage | Documentation coverage | 🟡 61 | 🟡 61 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Function coverage | 🟩 95.6 % | 🟩 95.4 % | |
| Code coverage | Line coverage | 🟩 97.7 % | 🟩 97.6 % | |
| JSDocs coverage | Functions coverage | 🟥 252 undocumented functions | 🟥 253 undocumented functions |
441 other audits are unchanged.
12 other projects are unchanged.
7d50811 to
be6698e
Compare
be6698e to
60d9aeb
Compare
Closes #1246
A CI/CD integration prompt is added to the
create-clisetup 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.ymlwith monorepo support when applicable. GitLab CI/CD creates.gitlab-ci.ymlor a separate file to include in it if one already exists. The CI provider can also be set via--ciCLI argument, and defaults toskipwith--yes.