To develop and test the action, you need to install Node.js. To install Node.js, use your OS package manager or follow the instruction on the Node.js website.
npm installnpm run lint-fixnpm run buildIt is important to bundle the action before running it locally or pushing it to the remote repository.
To run the action locally, set the RUNNER_TEMP environment variable to a
temporary directory. Then use the run script to execute the action:
export RUNNER_TEMP=/tmp/runner_temp
npm run runTo provide input variables to the action, set the environment variables before running the action:
INPUT_PLATFORM=macOS INPUT_VERSION=1.23.0 INPUT_ARCHITECTURE=x86_64 npm run run