Merge pull request #230 from rmrk-team/dev #1481
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: Auto format code with Prettier | |
on: | |
push: | |
pull_request: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run prettier | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "16" | |
- run: yarn install | |
- run: yarn prettier |