Issue found #1139
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: Format | |
on: | |
push: | |
pull_request: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- run: npm i | |
- id: format | |
run: "echo ::set-output name=prettier_output::$(npm start format)" | |
- if: "contains(steps.format.outputs.prettier_output, 'Code style issues fixed in the above file')" | |
run: "echo ::error::Code style is inconsistent." |