Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TanAlex/c7907c4e3b7ad615d212fbc7d83707f3 to your computer and use it in GitHub Desktop.
Save TanAlex/c7907c4e3b7ad615d212fbc7d83707f3 to your computer and use it in GitHub Desktop.
test: &test
name: Install and Test
image: node:10.15.0
caches:
- node
script:
- npm install
- npm test
- npm run build
artifacts: # defining the artifacts to be passed to each future step.
- dist/**
- reports/*.txt
upload: &upload
name: Upload to S3
image: atlassian/aws-ecs-deploy:1.0.0
script:
- aws s3 sync ./dist s3://blahblah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment