Skip to content

Instantly share code, notes, and snippets.

@vibou
Last active January 14, 2020 07:29
Show Gist options
  • Save vibou/90cee09d2ee5be76d904bdb98b4ede5c to your computer and use it in GitHub Desktop.
Save vibou/90cee09d2ee5be76d904bdb98b4ede5c to your computer and use it in GitHub Desktop.
name: CI
on: pull-request
jobs:
ci:
name: continous integration
runs-on: ubuntu-latest
steps:
# checkout the repository
- name: Checkout sources
uses: actions/checkout@master
# install your project dependencies
- name: install dependencies
run: yarn setup
# build the project
- name: build packages
run: yarn build
# run the tests
- name: run tests
run: yarn test
# plan infrastructure changes
- name: terraform
run: terraform plan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment