I have configured a CodePipeline to build and deploy a NPM project.
The pipeline doenloads the source from CodeCommit and builds it using CodeBuild. Two different stages.
However as a post version step, I want to increment the version (npm version patch).
This is failing in the CodeBuild step: npm WARN lifecycle [project@version]~postversion: cannot run in wd %s %s (wd=%s) [project@version] git push && git push --tags /codebuild/output/src334032561/src
I've already configured the IAM service role to have git push permissions.