Skip to content

Update CI/CD pipeline definition of spfx project github workflow add #5566

Description

@Adam-it

The aim is to update the Deploy workflow json definition.

We should update the following:
we should update the node in the yaml based on the current SPFx version like
SPFx 1.18.x and later => node v18
SPFx 1.17.4 and earlier => node v16

{
          name: "Use Node.js 18.x",
          uses: "actions/setup-node@v3.7.0",
          with: {
            "node-version": "18.x"
          }
}

CLI login action to latest (currently v2.2.4)

{
          name: "CLI for Microsoft 365 Login",
          uses: "pnp/action-cli-login@v2.2.2",
          .....

CLI login deploy to latest (currently v4.0.0)

{
          name: "CLI for Microsoft 365 Deploy App",
          uses: "pnp/action-cli-deploy@v3.0.1",
          .....

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions