Update the azuredevops pipeline add
and github workflow add
with option to scaffold running tests step
#6497
Labels
azuredevops pipeline add
and github workflow add
with option to scaffold running tests step
#6497
Currently the spfx project azuredevops pipeline add and spfx project github workflow add will scaffold a perfectly good workflow which builds, packages and deploys the SPFx project.
One thing which is missing is running tests. This is also a usual thing we do in our deployment pipelines which is a good practice to include as a safety check before something will get deployed. Of course, if we have tests in our SPFx project 😜.
So my idea is to a new option
-t, --runTests
- flag, when included in the command it will also scaffold a step that will rungulp test
for Azure DevOps it should add a step like
before the bundle task.
and for GitHub workflow it could be something like
The text was updated successfully, but these errors were encountered: