This composite action is no longer maintained by the Core Services team. Use at your own risk.
If your team still relies on this action, you may request CODEOWNER status for this directory to maintain it.
The deploy composite action runs npm commands to deploy to a target environment, followed by post-deployment contract tests.
The action will do the following:
- Run npm command
deployif present, piping from terraform output - Run npm command
contract-testsif present, piping from terraform output
The following items must be in the repository:
package.jsondependencies:env-cmd- to launch process using environment variables in.envfilecore-build-library- for core-build commands
package.jsonscripts:lint- lint the codebuild- build the codetest- test the code (pre-deployment)
terraformfolder containing roots for each environment (dev,stage, andprod)- (optional)
secrets-map.jsonfile containing map of secrets and associated environment variables. These will be written to.envfile.