Skip to content

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

@Adam-it

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/[email protected]",
          with: {
            "node-version": "18.x"
          }
}

CLI login action to latest (currently v2.2.4)

{
          name: "CLI for Microsoft 365 Login",
          uses: "pnp/[email protected]",
          .....

CLI login deploy to latest (currently v4.0.0)

{
          name: "CLI for Microsoft 365 Deploy App",
          uses: "pnp/[email protected]",
          .....

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions