Skip to content

Commit fa56336

Browse files
authored
fix: Simplify the "PR checks" workflow (#75)
1 parent 9663a8a commit fa56336

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/reusable_pr_checks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ jobs:
1414
pr_title_lint:
1515
name: 'pr-title-lint'
1616
runs-on: ${{ inputs.runs-on }}
17+
container: oven/bun:1.3.14-alpine@sha256:5acc90a93e91ff07bf72aa90a7c9f0fa189765aec90b47bdbf2152d2196383c0
1718
timeout-minutes: ${{ inputs.timeout-minutes }}
1819
steps:
1920
- name: Checkout
2021
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
21-
- name: Install commitlint
22-
run: npm install -D @commitlint/cli @commitlint/config-conventional
2322
- name: Validate PR commits with commitlint
2423
env:
2524
PR_TITLE: ${{ github.event.pull_request.title }}
2625
run: |
27-
echo "${PR_TITLE}" | npx commitlint --verbose
26+
echo "${PR_TITLE}" | bunx commitlint --verbose

0 commit comments

Comments
 (0)