Skip to content

refactor : 번들 사이즈 줄이고 lighthouse 성능 지표, LCP 개선 #433

refactor : 번들 사이즈 줄이고 lighthouse 성능 지표, LCP 개선

refactor : 번들 사이즈 줄이고 lighthouse 성능 지표, LCP 개선 #433

Workflow file for this run

name: Lint and Type Check
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Run TypeScript type check
run: npx tsc --noEmit
- name: Run ESLint
run: npm run lint