Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 [Feature]: The pipline scaffolding form could allow to scaffold a run tests step #223

Open
Adam-it opened this issue Apr 17, 2024 · 0 comments
Labels
👨‍💻 CLI for Microsoft 365 Requires to first extend CLI for Microsoft 365 ⭐ enhancement New feature or request 🙏 help wanted Open for contributors
Milestone

Comments

@Adam-it
Copy link
Contributor

Adam-it commented Apr 17, 2024

🎯 Aim of the feature

The pipeline scaffolding form could provide an additional option that will allow to scaffold a step in yaml flow that will run the gulp test command for the SPFx project in order to run tests

📷 Images (if possible) with expected result

No response

🤔 Additional remarks or comments

This feature should first be extended in the CLI for Microsoft 365 spfx project github workflow add and spfx project azuredevops pipeline add commands. We should first open up an issue in this CLI repo

👣 Step by step plan

  1. SPFx toolkit uses CLI for Microsoft 365 for this feature. In order to get started with this we first need to open an issue in this repo to extend the github workflow add and azuredevops pipeline add commands with an option that will allow to scaffold a pipeline/workflow with a step that will run tests
  2. the new step should run the gulp test or gulp test-only step
  3. after this will get merged to CLI repo we need to migrate it to CJS to a forked repo which i CLI for Microsoft 365 maintained in CJS for this project https://github.com/Adam-it/cli-microsoft365/tree/cli-cjs
  4. after that we should extend:
@Adam-it Adam-it added ⭐ enhancement New feature or request 🙏 help wanted Open for contributors labels Apr 17, 2024
@Adam-it Adam-it added this to the v3.X milestone Apr 17, 2024
@Adam-it Adam-it added the 👨‍💻 CLI for Microsoft 365 Requires to first extend CLI for Microsoft 365 label Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👨‍💻 CLI for Microsoft 365 Requires to first extend CLI for Microsoft 365 ⭐ enhancement New feature or request 🙏 help wanted Open for contributors
Projects
None yet
Development

No branches or pull requests

1 participant