better messages displayed #442
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 Checks | |
on: | |
push: | |
jobs: | |
run-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: add node toolchain | |
uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
- name: cache node_modules | |
uses: actions/cache@v2 | |
with: | |
path: | | |
./node_modules | |
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} | |
- name: install node dependencies | |
run: yarn | |
- name: run formatting checks | |
run: yarn format:check |