Skip to content

chore(eslint): setup eslint and autofix errors #3

chore(eslint): setup eslint and autofix errors

chore(eslint): setup eslint and autofix errors #3

Workflow file for this run

name: CI
on:
pull_request:
branches: ["*"]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Use shorter tag version
- uses: pnpm/[email protected] # Use shorter tag version
- name: Install Node.js
uses: actions/setup-node@v4 # Use shorter tag version
with:
node-version: 18
cache: "pnpm"
- name: Install Dependencies
run: pnpm i --frozen-lockfile
lint:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Lint Format
run: pnpm lint:prettier
- name: Run ESLint
run: pnpm lint
build:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Build Check
run: pnpm build