From 5785a95fe59e26bbc295b812cd5c0710a75ca24d Mon Sep 17 00:00:00 2001 From: Elizabeth Stein Date: Tue, 25 Aug 2026 20:09:18 -0400 Subject: [PATCH] fix(ci): resolve pnpm version conflict and specter-roast type resolution pnpm/action-setup@v6 errors with ERR_PNPM_BAD_PM_VERSION when both the action's version input and package.json packageManager are set (CI has been failing on every run since the packageManager pin landed). Drop the redundant version input; action-setup reads packageManager instead. packages/specter-roast build fails with TS2591/TS2584 (node: imports and console unresolved) because tsc does not auto-discover @types/node in this nested npm package. Add explicit types: ["node"] to fix. --- .github/workflows/ci.yml | 6 ------ packages/specter-roast/tsconfig.json | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5fe097..8f15457 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,6 @@ jobs: - uses: actions/checkout@v7 - uses: pnpm/action-setup@v6 - with: - version: 10 - name: Setup Node.js uses: actions/setup-node@v7 @@ -50,8 +48,6 @@ jobs: - uses: actions/checkout@v7 - uses: pnpm/action-setup@v6 - with: - version: 10 - name: Setup Node.js uses: actions/setup-node@v7 @@ -75,8 +71,6 @@ jobs: - uses: actions/checkout@v7 - uses: pnpm/action-setup@v6 - with: - version: 10 - name: Setup Node.js uses: actions/setup-node@v7 diff --git a/packages/specter-roast/tsconfig.json b/packages/specter-roast/tsconfig.json index 710db5d..64dca39 100644 --- a/packages/specter-roast/tsconfig.json +++ b/packages/specter-roast/tsconfig.json @@ -12,7 +12,8 @@ "forceConsistentCasingInFileNames": true, "declaration": true, "declarationMap": true, - "sourceMap": true + "sourceMap": true, + "types": ["node"] }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"]