From f59032fd579584ce94da7d9b811cd9fe0100b9fb Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 18 Aug 2026 13:49:03 -0600 Subject: [PATCH] chore: migrate from pnpm/action-setup to pnpm/setup pnpm/action-setup is deprecated in favor of pnpm/setup, which installs pnpm and Node.js in a single step. This replaces three separate steps (pnpm/action-setup + actions/setup-node + pnpm install) with one. --- .github/workflows/ci.yml | 10 +++------- .github/workflows/push-dist.yml | 10 +++------- .github/workflows/release.yml | 12 +++--------- 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e12a85..b8a43cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,10 @@ jobs: steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 - - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - - name: Install Node - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f + - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2 with: - node-version: 24.11.1 - cache: pnpm - - name: Install Dependencies - run: pnpm install + runtime: node@24.11.1 + cache: true - name: Lint run: pnpm lint - name: Run Tests diff --git a/.github/workflows/push-dist.yml b/.github/workflows/push-dist.yml index 3eac8e2..94b9b3b 100644 --- a/.github/workflows/push-dist.yml +++ b/.github/workflows/push-dist.yml @@ -14,14 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 - - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - - name: Install Node - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f + - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2 with: - node-version: 24.11.1 - cache: pnpm - - name: Install Dependencies - run: pnpm install + runtime: node@24.11.1 + cache: true - name: Build run: pnpm build - name: Push to dist branch diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7521e6d..f6397bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,16 +23,10 @@ jobs: - name: Checkout Repo uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 - - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - - - name: Setup Node.js - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f + - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2 with: - node-version: 24.11.1 - cache: pnpm - - - name: Install Dependencies - run: pnpm install + runtime: node@24.11.1 + cache: true - name: Create Release Pull Request or Publish to npm id: changesets