Skip to content

feat: add autofix ci #162

feat: add autofix ci

feat: add autofix ci #162

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: latest
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Lint
run: pnpm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: latest
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Typecheck
run: pnpm run typecheck
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: latest
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Test
run: pnpm run test
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: latest
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Coverage
run: pnpm run coverage