ci: Define BUN_VERSION environment variable for consistent Bun setup in commits-validation workflow
This commit is contained in:
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
|
||||||
|
|||||||
Reference in new issue
Block a user