Code Issues Pull Requests Actions Packages Projects Releases 15 Wiki Activity Security Code Quality

ci: Define BUN_VERSION environment variable for consistent Bun setup in commits-validation workflow

This commit is contained in:
tienbh committed 2026-11-27 11:08:46 +07:00 Verified
1 parent adf7460b45
commit f5158fe215
1 file changed
+5
@@ -8,6 +8,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
env:
BUN_VERSION: 1.4.5
jobs: jobs:
lint-commits-and-pr: lint-commits-and-pr:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -39,6 +42,8 @@ jobs:
- name: Setup Bun - name: Setup Bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Install commitlint - name: Install commitlint
run: bun add --no-save @commitlint/cli @commitlint/config-conventional run: bun add --no-save @commitlint/cli @commitlint/config-conventional