docs: describe how to run natspec-smells in CI #175
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 | |
on: [push] | |
jobs: | |
files: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out github repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run linter | |
run: yarn run lint:check |