sfdx-actions / setup-sfdx

Salesforce SFDX CLI GitHub Action
MIT License
81 stars 28 forks source link

Node.js 12 actions are deprecated. Make the action compatible with latest node version #15

Closed alinawab1 closed 1 year ago

alinawab1 commented 1 year ago

We are using node version 16 on our side which is showing this warning.

Node.js 12 actions are deprecated. For more information see https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: sfdx-actions/setup-sfdx@v1

image

The issue seems to be from the hardcoded node version in action.yml and apparently, we cannot change the node version by passing it as a parameters image

In our .yml we are calling the action @v1 which seems to be the current stable version, tried @v2 and @v1.2 etc. but that does not seem to be available.

uses: sfdx-actions/setup-sfdx@v1

Kindly fix this issue on your end. Thanks

fechanique commented 1 year ago

fixed