From 6935f576b5b0ac754291ccdfece3a2658d0f8200 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 18:57:07 +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 4c41669918e2ed032da8c934df2e6159bea59819 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 18:57:07 +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 d35188d..aff87ab 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,14 +22,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 52da57d..7d53ddd 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@ce4ca9e76b9b9d0d3f3a364e40b49f84dd1c1bd1 # main + uses: h13/.github/.github/workflows/publish-node.yml@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main secrets: inherit From cd0cea51b31a05f256cf9836e6ef57c20152c78a Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 18:57:08 +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 d66f4e2..c4f03b6 100644 --- a/README.ja.md +++ b/README.ja.md @@ -2,7 +2,9 @@ [![CI](https://github.com/h13/apps-script-slack-notifier/actions/workflows/ci.yml/badge.svg)](https://github.com/h13/apps-script-slack-notifier/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/h13/apps-script-slack-notifier/blob/main/LICENSE) -[![Node.js >=24](https://img.shields.io/badge/Node.js-%3E%3D24-brightgreen.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-notifier%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-notifier%2Fmain%2F.mise.toml&query=%24.tools.pnpm&label=pnpm&logo=pnpm&color=green)](https://pnpm.io/) [![TypeScript strict](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/) [![Google Apps Script](https://img.shields.io/badge/Google%20Apps%20Script-4285F4.svg?logo=google&logoColor=white)](https://script.google.com/) diff --git a/README.md b/README.md index b2c6d55..af0ec24 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ [![CI](https://github.com/h13/apps-script-slack-notifier/actions/workflows/ci.yml/badge.svg)](https://github.com/h13/apps-script-slack-notifier/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/h13/apps-script-slack-notifier/blob/main/LICENSE) -[![Node.js >=24](https://img.shields.io/badge/Node.js-%3E%3D24-brightgreen.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-notifier%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-notifier%2Fmain%2F.mise.toml&query=%24.tools.pnpm&label=pnpm&logo=pnpm&color=green)](https://pnpm.io/) [![TypeScript strict](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/) [![Google Apps Script](https://img.shields.io/badge/Google%20Apps%20Script-4285F4.svg?logo=google&logoColor=white)](https://script.google.com/)