name: Lint on: pull_request jobs: lint: runs-on: ubuntu-latest steps: - name: Check out Git repository uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v4 with: node-version: 20.11.1 - name: Install dependencies run: yarn - name: Validate current commit (last commit) with commitlint run: npx commitlint --last --verbose - name: Typecheck run: yarn typecheck - name: Lint run: yarn lint - name: Format check run: yarn format-check