Merge pull request #50 from Jhonatanmizu/dependabot/npm_and_yarn/fast… #98
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: CI | |
on: [push] | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
name: Setup node | |
with: | |
node-version: 20.x | |
cache: yarn | |
- name: Setup limit watchers | |
run: sudo sysctl -w fs.inotify.max_user_watches=524288 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run lint | |
run: yarn lint | |
- name: Run tests | |
run: yarn test |