⬆️ upgrade eslint, prettier and other low-hanging-fruit depen… #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, Test and Deploy | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn test | |
- name: Deploy 🚀 | |
env: | |
DB_HOST: ${{ secrets.DB_HOST }} | |
DB_DATABASE: ${{ secrets.DB_DATABASE }} | |
DB_USERNAME: ${{ secrets.DB_USERNAME }} | |
DB_PASSWORD: ${{ secrets.DB_PASSWORD }} | |
DB_PINGER_DATABASE: ${{ secrets.DB_PINGER_DATABASE }} | |
BUGSNAG_KEY: ${{ secrets.BUGSNAG_KEY }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: yarn deploy:ci | |
- uses: codecov/codecov-action@v1 |