Skip to content

chore: update eslint cfg, refator .npmrc, refactor ts cfg and refactor local storage handlers #373

chore: update eslint cfg, refator .npmrc, refactor ts cfg and refactor local storage handlers

chore: update eslint cfg, refator .npmrc, refactor ts cfg and refactor local storage handlers #373

Workflow file for this run

name: Check
on:
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
push:
branches:
- main
jobs:
lint:
name: Prettier, ESLint, and TypeScript
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Check Prettier
run: pnpm prettier
- name: Check ESLint
run: pnpm lint
- name: Check TypeScript
run: pnpm typecheck
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Check Tests
run: pnpm test