From 4a3fd6054d61c8609c04f200f0c0b68310bfa7f6 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 18:56:52 +0900 Subject: [PATCH 1/3] chore: pin node and pnpm to exact versions in .mise.toml mise aliases (lts, 12) resolve differently over time and Renovate's mise manager cannot bump them. Exact pins (node 26.13.1 / pnpm 12.23.0, matching packageManager) put both tools on Renovate. Part of the org-wide mise single-source rollout (h13/apps-script-fleet#187). --- .mise.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mise.toml b/.mise.toml index d917664..b596887 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,3 +1,3 @@ [tools] -node = "lts" -pnpm = "12" +node = "26.13.1" +pnpm = "12.23.0" From ae702276d262e293b0b54fe148d546355dfe01a9 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 18:56:52 +0900 Subject: [PATCH 2/3] ci: install the toolchain via the shared setup-toolchain action Replaces pnpm/action-setup + setup-node (hardcoded node-version: 26) with h13/.github's setup-toolchain composite, which reads .mise.toml via mise-action and keeps the pnpm store cache. Shared workflow refs bumped to the same h13/.github commit (h13/.github#246). --- .github/workflows/cd.yml | 9 +-------- .github/workflows/ci.yml | 9 +-------- .github/workflows/publish.yml | 2 +- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 996fde1..ef02769 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -27,14 +27,7 @@ jobs: with: ref: ${{ github.event.workflow_run.head_branch }} - - uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 - - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 - with: - node-version: 26 - cache: pnpm - - - run: pnpm install --frozen-lockfile + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - name: Build run: pnpm run build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fd9ae5..ecad599 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,7 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 - - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 - with: - node-version: 26 - cache: pnpm - - - run: pnpm install --frozen-lockfile + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - name: Check run: pnpm run check diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cdce53a..27f922c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,5 +10,5 @@ permissions: jobs: publish: - uses: h13/.github/.github/workflows/publish-node.yml@45ae44352fb1132ea3d2d09a7db128532062491f # v1 + uses: h13/.github/.github/workflows/publish-node.yml@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main secrets: inherit From b5df27cc4ea1af19abed58c0a2208aac5deb8e76 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 18:56:53 +0900 Subject: [PATCH 3/3] docs: show mise-managed toolchain versions as dynamic badges The static Node.js badge goes stale; shields.io dynamic TOML badges render the versions pinned in .mise.toml on main. --- README.ja.md | 4 +++- README.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.ja.md b/README.ja.md index 4466efa..7451138 100644 --- a/README.ja.md +++ b/README.ja.md @@ -2,7 +2,9 @@ [![CI](https://github.com/h13/apps-script-fleet/actions/workflows/ci.yml/badge.svg)](https://github.com/h13/apps-script-fleet/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/h13/apps-script-fleet/blob/main/LICENSE) -[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D24-green.svg)](https://nodejs.org/) +[![Toolchain: mise](https://img.shields.io/badge/toolchain-mise-green.svg)](https://mise.jdx.dev/) +[![Node.js](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fh13%2Fapps-script-slack-bot-inviter%2Fmain%2F.mise.toml&query=%24.tools.node&label=node&logo=nodedotjs&color=green)](https://nodejs.org/) +[![pnpm](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fh13%2Fapps-script-slack-bot-inviter%2Fmain%2F.mise.toml&query=%24.tools.pnpm&label=pnpm&logo=pnpm&color=green)](https://pnpm.io/) [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/) [![Google Apps Script](https://img.shields.io/badge/Google%20Apps%20Script-Template-4285F4.svg)](https://developers.google.com/apps-script) diff --git a/README.md b/README.md index a4b7c8d..522f893 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ [![CI](https://github.com/h13/apps-script-fleet/actions/workflows/ci.yml/badge.svg)](https://github.com/h13/apps-script-fleet/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/h13/apps-script-fleet/blob/main/LICENSE) -[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D24-green.svg)](https://nodejs.org/) +[![Toolchain: mise](https://img.shields.io/badge/toolchain-mise-green.svg)](https://mise.jdx.dev/) +[![Node.js](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fh13%2Fapps-script-slack-bot-inviter%2Fmain%2F.mise.toml&query=%24.tools.node&label=node&logo=nodedotjs&color=green)](https://nodejs.org/) +[![pnpm](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fh13%2Fapps-script-slack-bot-inviter%2Fmain%2F.mise.toml&query=%24.tools.pnpm&label=pnpm&logo=pnpm&color=green)](https://pnpm.io/) [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/) [![Google Apps Script](https://img.shields.io/badge/Google%20Apps%20Script-Template-4285F4.svg)](https://developers.google.com/apps-script)