Skip to content

The spfx ci/cd commands generate wokrflow/pipeline that use gulp for SPFx 1.22.x projects #7091

@Adam-it

Description

@Adam-it

In spfx project azuredevops pipeline add and spfx project github workflow add we generate workflows/pipelines that will always use gulp for building and packaging. This makes sense only for projects that have SPFx <= 1.21.x. For projects with newer SPFx version, so >= 1.22.x, we should use heft.

In this PR #6766, we already check the SPFx project version and set the right node version for that project. I suggest we extend this functionality even further and dynamically set to use gulp or heft based on the SPFx project version.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions