From f5e2ca0e4cf6b1b6a4c550126d70a144c39dfb1c Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:03:03 +0900 Subject: [PATCH] ci: adopt the shared setup-toolchain composite action Replaces the inline mise-action + pnpm store cache + install steps with h13/.github's setup-toolchain composite (h13/.github#246), which renovate-config pioneered: same behavior plus a Renovate-annotated mise version pin and --ignore-scripts on install. One place now owns the setup logic for every repo. --- .github/workflows/cd.yml | 14 +------------- .github/workflows/ci.yml | 14 +------------- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e9a0ddb..ef02769 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -27,19 +27,7 @@ jobs: with: ref: ${{ github.event.workflow_run.head_branch }} - - uses: jdx/mise-action@3277a0f272901982804abc53abd93520db809be4 # v5.4.0 - - - name: Get pnpm store directory - id: pnpm-store - run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" - - - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 - with: - path: ${{ steps.pnpm-store.outputs.path }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} - restore-keys: ${{ runner.os }}-pnpm-store- - - - 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 545ab69..ecad599 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,19 +11,7 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: jdx/mise-action@3277a0f272901982804abc53abd93520db809be4 # v5.4.0 - - - name: Get pnpm store directory - id: pnpm-store - run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" - - - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 - with: - path: ${{ steps.pnpm-store.outputs.path }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} - restore-keys: ${{ runner.os }}-pnpm-store- - - - run: pnpm install --frozen-lockfile + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - name: Check run: pnpm run check