From a10585970aaf1a180b891a296db36ac381d0d32e Mon Sep 17 00:00:00 2001 From: Ashish-simpleCoder Date: Thu, 25 Dec 2025 13:17:11 +0530 Subject: [PATCH 1/3] chore: updrage pnpm version to v10 --- .github/workflows/main.yml | 8 ++++---- .github/workflows/publish.yml | 6 +++--- .github/workflows/size.yml | 6 +++--- .github/workflows/test.yml | 6 +++--- package.json | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2f75c0e..c01608b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: ['14.x', '16.x', '18.x'] + node: ['14.x', '16.x', '18.x','20.x','22.x','24.x'] os: [ubuntu-latest] steps: @@ -20,9 +20,9 @@ jobs: with: node-version: ${{ matrix.node }} - - uses: pnpm/action-setup@v2 - with: - version: 7 + - uses: pnpm/action-setup@v4 + # with: + # version: 7 - uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e8d414a..4b2533f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,9 @@ jobs: permissions: write-all steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 7 + - uses: pnpm/action-setup@v4 + # with: + # version: 7 - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 5715560..996ed0a 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -7,9 +7,9 @@ jobs: CI_JOB_NUMBER: 1 steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 7 + - uses: pnpm/action-setup@v4 + # with: + # version: 7 - uses: andresz1/size-limit-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 68e6cac..7912f5d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,8 +7,8 @@ jobs: CI_JOB_NUMBER: 1 steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 7 + - uses: pnpm/action-setup@v4 + # with: + # version: 7 - run: pnpm install --frozen-lockfile - run: pnpm build && pnpm test diff --git a/package.json b/package.json index 0e56441..c131893 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "dependencies": { "react": "^18.2.0" }, - "packageManager": "pnpm@8.12.0", + "packageManager": "pnpm@10.0.0", "devDependencies": { "@changesets/cli": "^2.26.1", "@size-limit/preset-small-lib": "^8.2.4", From 56efd0476f38412a5befabdf07a78d3d9d52409c Mon Sep 17 00:00:00 2001 From: Ashish-simpleCoder Date: Thu, 25 Dec 2025 13:22:30 +0530 Subject: [PATCH 2/3] fix: use only 20.x for ci build teest --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c01608b..69643d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: ['14.x', '16.x', '18.x','20.x','22.x','24.x'] + node: ['20.x'] os: [ubuntu-latest] steps: From c19ee40dbff6b71fb59ae3199d3ce166dc7cc138 Mon Sep 17 00:00:00 2001 From: Ashish-simpleCoder Date: Thu, 25 Dec 2025 13:25:54 +0530 Subject: [PATCH 3/3] update node to v20 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69643d1..17df0f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: # version: 7 - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: 'pnpm' - run: pnpm install --frozen-lockfile