Skip to content

refactor: minor refactor #92

refactor: minor refactor

refactor: minor refactor #92

Workflow file for this run

name: Linting
on:
pull_request:
push:
workflow_dispatch:
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
prettier_options: -c .
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Run ESLint
run: yarn lint