Skip to content

feat: make other form optional #159

feat: make other form optional

feat: make other form optional #159

Workflow file for this run

on:
push:
branches: [main, next]
pull_request:
branches: [ '**' ]
jobs:
commitlint:
if: github.actor != 'yc-ui-bot' && github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm test