Skip to content

fix: ci

fix: ci #5

Workflow file for this run

name: lint and type
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Prettier
run: pnpm run prettier:ci
- name: Lint
run: pnpm run eslint:ci
- name: Type
run: pnpm run typecheck