Skip to content

Add husky and add pre-commit hook #111

Add husky and add pre-commit hook

Add husky and add pre-commit hook #111

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm verify
- if: github.ref == 'refs/heads/main'
run: pnpm build
- if: github.ref == 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Build