Skip to content

chore: add husky and commitlint #7

chore: add husky and commitlint

chore: add husky and commitlint #7

Workflow file for this run

name: Check Commit
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm ci
- run: echo "[]" > ./src/shop-list.json
- run: npm run lint
code-styles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm ci
- run: npm run prettier
compile-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm ci
- run: echo "[]" > ./src/shop-list.json
- run: npm run build