Skip to content

Running multi-pages pipelines for SharePoint SPFx  #8681

@Jwaegebaert

Description

@Jwaegebaert

Question originates from @SeeBeeDev in pnp/cli-microsoft365#4309 (comment)


Hi, i would like some help and input on the CI/CD in DevOps using the multi-stages YAML specify in this site > https://learn.microsoft.com/en-us/sharepoint/dev/spfx/toolchain/implement-ci-cd-with-azure-pipelines

I'm able to get this working if my SFPx web part is in it's own DevOps repos. But when i have a repos with multiple folders (web parts), it doesn't able to find the gulp.js or package-locked.json file.
(My repos have two webparts and each has it's own folder and i created 3 CI/CD YAML file in a template folder)

image

I got this error referencing the gulp. Do you know fi this YAML is working with folder or has to be on top level?

image

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:docsCategory: SharePoint developer/development documentation relatedarea:toolingCategory: Development toolingtype:archive-old-issueIssues which are closed as tool old for active worktype:questionQuestion... if answered, will be tagged as such.

    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