Skip to content

chore: prepare for open source #45

chore: prepare for open source

chore: prepare for open source #45

Workflow file for this run

name: lint
on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- main
permissions:
contents: read
pull-requests: write
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: oven-sh/setup-bun@9b21598af8d4dfc302e5a30250007de0fda92acc
- run: bun i --frozen-lockfile
- run: bun run lint:es
- run: bun run lint:prettier
- run: bun run lint:ts
# needed for `commitlint`
- run: git fetch origin main
- name: PR title | commitlint
run: echo '${{ github.event.pull_request.title }}' | bunx commitlint