Merge branch 'master' into add_crossfi_mainnet #78
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: Run prettier check | |
on: | |
push: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
name: Configure npm caching | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/prettier.yml') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Run prettier | |
run: |- | |
npx prettier --check '_data/*/*.json' |