Skip to content

refactor/ 최적화 고민하여 리펙토링 해보기 - 권지민 #70

refactor/ 최적화 고민하여 리펙토링 해보기 - 권지민

refactor/ 최적화 고민하여 리펙토링 해보기 - 권지민 #70

Workflow file for this run

name: Lint Check
on:
pull_request:
branches:
- main
- dev
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run prettier and eslint
run: |
npm run prettier-lint || (echo "You should run prettier-lint before pr" && exit 1)