Skip to content

chore(workflow): update linting gh action #27

chore(workflow): update linting gh action

chore(workflow): update linting gh action #27

Workflow file for this run

name: Lint
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/[email protected]
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