Skip to content

chore(project): add commitlint and husky pre-commit hooks #361

chore(project): add commitlint and husky pre-commit hooks

chore(project): add commitlint and husky pre-commit hooks #361

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
web:
name: Web (Build, Lint, Check)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node-version: [18.x, 20.x]
pnpm-version: [8]
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node-version: ${{ matrix.node-version }}
pnpm-version: ${{ matrix.pnpm-version }}
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pnpm install
- name: Run linting check
run: pnpm web lint
- name: Run diagnostics check
run: pnpm web check --output machine
- name: Run build
run: pnpm web build