Skip to content

chore: clean up unused deps and upgrade to latest versions #50

chore: clean up unused deps and upgrade to latest versions

chore: clean up unused deps and upgrade to latest versions #50

Workflow file for this run

name: Lint
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint:
name: ESLint Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run ESLint
run: yarn lint
- name: Run TypeScript check
run: yarn type-check
format-check:
name: Code Formatting Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Check code formatting
run: yarn lint --max-warnings=0
- name: Check for formatting issues
run: |
yarn lint:fix
if [ -n "$(git diff --name-only)" ]; then
echo "Code formatting issues found. Please run 'yarn lint:fix' and commit the changes."
git diff
exit 1
fi