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: Lint Checks | |
on: | |
push: | |
jobs: | |
run-lint: | |
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 linting checks | |
run: yarn lint |