Installing executables with Volta
Hi! I have an issue while setting up Volta and aws cdk. I would like to use cdk cli in the later steps (cdk synth, cdk deploy) but no executable is installed. However, this works flawlessly in local.
Git action
Local
I didn't solve the problem, but I got it working by changing cdk deploy to node_modules/aws-cdk/bin/cdk deploy
I think you'll need to share more about how you are using the action for us to truly understand enough to help you.
From the limited information above, I think that you have ran volta install aws-cdk (or whatever package name) locally. That is what enables the cdk commands (without something like npx cdk or yarn cdk to work).
In general, using either npx or yarn here (or directly executing within ./node_modules/.bin/cdk) is the right path forward.