Merge pull request #113 from RagnarokResearchLab/revised-imf-specific… #178
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: Formatting | |
on: | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "README.md" | |
jobs: | |
lint: | |
name: prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repo sitory | |
uses: actions/checkout@v4 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install development dependencies | |
run: npm install --also=dev | |
- name: Check for inconsistent formatting | |
run: npm run format-check |