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]",
.....
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
CLI login action to latest (currently v2.2.4)
CLI login deploy to latest (currently v4.0.0)