Skip to content

chore(deps): update dependency knip to v5.36.6 (#519) #1339

chore(deps): update dependency knip to v5.36.6 (#519)

chore(deps): update dependency knip to v5.36.6 (#519) #1339

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
permissions:
contents: read # for checkout
actions: read # for actions-timeline
jobs:
check:
runs-on: ubuntu-24.04
steps:
- name: actions-timeline
# cspell:ignore kesin
uses: Kesin11/actions-timeline@3046833d9aacfd7745c5264b7f3af851c3e2a619 # v2.2.1
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2.0.1
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: "commitlint (push: initial commit)"
id: commitlint-push-initial
# commit hash will be 0000000000000000000000000000000000000000 if it doesn't exist
if: github.event_name == 'push' && github.event.before == '0000000000000000000000000000000000000000'
run: bun run commitlint --verbose --to ${{github.event.after}}
- name: commitlint (push)
if: github.event_name == 'push' && steps.commitlint-push-initial.outcome == 'skipped'
run: bun run commitlint --verbose --from ${{github.event.before}} --to ${{github.event.after}}
- name: commitlint (pull_request)
if: github.event_name == 'pull_request'
run: |
bun run commitlint --verbose --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }}
- name: Biome
run: bun run biome ci --error-on-warnings
- name: cspell
run: bun run cspell "**/*"
- name: tsc
run: bun run tsc
- name: knip
run: bun run knip