pnpm command not found when running with script using github actions but worked when run it manually on server
I am trying to automate my next js deployment and write a deploy.sh script to run on the server using github actions. I tried running it manully on server using bash deploy.sh command and it works fine but when i run it through github actions it says: ‘err: .scripts/deploy.sh: line 14: npm: command not found’