Merge pull request #96 from stabilitydao/dev #68
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 check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: { } | |
workflow_dispatch: { } | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Run yarn install | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: install | |
- name: Run prettier check | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: prettier . --check |