From a7c4e466c76c5f93e9c587f0c77d1b64f6b6bc52 Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Sun, 8 Mar 2026 16:37:33 -0400 Subject: [PATCH] ci: pin pnpm to version 10 in all CI jobs Also enable sourcemap: true in tsup config --- .github/workflows/ci.yml | 8 ++++++++ package.json | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5a3527..78edc5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + version: 10 - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -31,6 +33,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + version: 10 - uses: actions/setup-node@v4 with: node-version: 24 @@ -45,6 +49,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + version: 10 - uses: actions/setup-node@v4 with: node-version: 24 @@ -58,6 +64,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + version: 10 - uses: actions/setup-node@v4 with: node-version: 24 diff --git a/package.json b/package.json index 32e5d56..96032e3 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,7 @@ } } }, - "sideEffects": [ - "./dist/index.cjs", - "./dist/index.mjs" - ], + "sideEffects": false, "files": [ "dist/index.cjs", "dist/index.mjs",