From 0df3d993d661cc3062e4a8b183b1cbc23d52f80c Mon Sep 17 00:00:00 2001 From: koralle Date: Wed, 11 Feb 2026 17:44:18 +0900 Subject: [PATCH] chore(ci): pin Bun/Node versions via `.tool-versions` --- .github/workflows/ci.yml | 2 +- .github/workflows/cr.yml | 4 ++++ .tool-versions | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .tool-versions diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1496684..57537f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - name: Install Bun uses: oven-sh/setup-bun@v1 with: - bun-version: latest + bun-version-file: .tool-versions - name: Install dependencies run: bun install diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 716b56e..f6ac805 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -21,8 +21,12 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v6 + with: + node-version-file: .tool-versions - uses: oven-sh/setup-bun@v2 + with: + bun-version-file: .tool-versions - name: Install Dependencies run: bun install --frozen-lockfile diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..ca9bf43 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,4 @@ +bun 1.3.9 +# TODO: Update to v2.x when https://github.com/jsr-io/jsr-npm/issues/129 is resolved +deno 2.6.9 +node 22.22.0