Skip to content

Eslint custom rule

Eslint custom rule #45

Workflow file for this run

name: CI
on: pull_request
jobs:
ci:
name: check code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install
- run: yarn prettier:check
- run: yarn eslint
- run: yarn build
- run: yarn test