I am trying to setup a codebuild where I have one module that would create the dependencies for other builds. And these other builds will use the artifacts generated by the first build and these build should be ran in parallel. I was looking at documentation of CodeBuild it seems there isn't information there. Sample of my buildspec.yml
version: 0.2 #env: #variables: # key: "value" # key: "value" #parameter-store: # key: "value" # key: "value" #git-credential-helper: yes phases: #install: #If you use the Ubuntu standard image 2.0 or later, you must specify runtime-versions. #If you specify runtime-versions and use an image other than Ubuntu standard image 2.0, the build fails. #runtime-versions: # name: version # name: version #commands: # - command # - command # pre_build: # commands: # - mkdir artifacts # - pwd # - ls build: commands: - cd frontend - npm install - cd .. - cd othermodule - npm install #post_build: #commands: # - cp -a $CODEBUILD_SRC_DIR/frontend/dist. # - command artifacts: files: - package-lock.json - node_modules/* base-directory: frontend #cache: #paths: # - paths