Skip to content

Add github workflow

Add github workflow #2

Workflow file for this run

name: Lint
on:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "actions/setup-node@v4"
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: "Install dependencies"
run: "pnpm ci"
- name: "Run eslint"
run: "pnpm run lint"
- name: "Run prettier"
run: "pnpm run fmt"