From 598a19328d8c3a61e203dce9733665fd168c68fd Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Wed, 13 May 2026 13:29:46 +0000 Subject: [PATCH 1/3] fix: Fix CI failures with pnpm 11. Signed-off-by: Paolo Insogna --- .github/workflows/ci.yml | 7 +++++-- pnpm-workspace.yaml | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pnpm-workspace.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13b43e1..6b1157a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ on: workflow_dispatch: jobs: ci: + strategy: + matrix: + node-version: [22, 24, 26] runs-on: ubuntu-latest timeout-minutes: 20 steps: @@ -16,7 +19,7 @@ jobs: - name: Use supported Node.js Version uses: actions/setup-node@v4 with: - node-version: 24 + node-version: ${{ matrix.node-version }} - name: Restore cached dependencies uses: actions/cache@v3 with: @@ -25,7 +28,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: latest + version: 11 - name: Install dependencies run: pnpm install --frozen-lockfile - name: Run Tests diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..6c750ff --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +allowBuilds: + unrs-resolver: true From 6a16104ae1e2b7602052fea8c4aea40acf8c61cd Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Wed, 13 May 2026 13:36:49 +0000 Subject: [PATCH 2/3] fix: Fix CI failures with pnpm 11. Signed-off-by: Paolo Insogna --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ec10bd8..96b18f5 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "typecheck": "tsc -p . --noEmit", "format": "prettier -w src test", "test": "c8 -c test/config/c8-local.json node --test --test-reporter=cleaner-spec-reporter --test-timeout=60000 'test/**/*.test.ts'", - "test:ci": "c8 -c test/config/c8-ci.json node --test --test-reporter=cleaner-spec-reporter --test-timeout=60000 'test/**/*.test.ts'", + "test:ci": "node --experimental-test-coverage --test --test-reporter=cleaner-spec-reporter --test-timeout=60000 'test/**/*.test.ts'", "ci": "npm run build && npm run lint && npm run test:ci", "prepublishOnly": "npm run build && npm run lint", "postpublish": "git push origin && git push origin -f --tags" @@ -53,4 +53,4 @@ "engines": { "node": ">= 22.19.0" } -} \ No newline at end of file +} From 52a124db03bb3d29b58d6dbbc0c91a6060cf6eb9 Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Wed, 13 May 2026 13:46:31 +0000 Subject: [PATCH 3/3] fix: Fix CI failures with pnpm 11. Signed-off-by: Paolo Insogna --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b1157a..db322b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: ci: strategy: matrix: - node-version: [22, 24, 26] + node-version: [22, 24] runs-on: ubuntu-latest timeout-minutes: 20 steps: diff --git a/package.json b/package.json index 96b18f5..b8dff38 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "typecheck": "tsc -p . --noEmit", "format": "prettier -w src test", "test": "c8 -c test/config/c8-local.json node --test --test-reporter=cleaner-spec-reporter --test-timeout=60000 'test/**/*.test.ts'", - "test:ci": "node --experimental-test-coverage --test --test-reporter=cleaner-spec-reporter --test-timeout=60000 'test/**/*.test.ts'", + "test:ci": "c8 -c test/config/c8-ci.json node --test --test-reporter=cleaner-spec-reporter --test-timeout=60000 'test/**/*.test.ts'", "ci": "npm run build && npm run lint && npm run test:ci", "prepublishOnly": "npm run build && npm run lint", "postpublish": "git push origin && git push origin -f --tags"