Merge pull request #1 from Whisker17/feat/add-prettier-check-actions #1
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: Prettier Write | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Repository | |
uses: actions/checkout@v2 | |
- name: Run Prettier Check | |
run: docker run --rm -v $PWD:/app -w /app prettier/prettier:latest --write . |