Skip to content

Commit f017c93

Browse files
chore: updrage pnpm version to v10 (#7)
* chore: updrage pnpm version to v10 * fix: use only 20.x for ci build teest * update node to v20
1 parent f7c84cf commit f017c93

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
node: ['14.x', '16.x', '18.x']
14+
node: ['20.x']
1515
os: [ubuntu-latest]
1616

1717
steps:
@@ -20,12 +20,12 @@ jobs:
2020
with:
2121
node-version: ${{ matrix.node }}
2222

23-
- uses: pnpm/action-setup@v2
24-
with:
25-
version: 7
23+
- uses: pnpm/action-setup@v4
24+
# with:
25+
# version: 7
2626
- uses: actions/setup-node@v3
2727
with:
28-
node-version: 16.x
28+
node-version: 20.x
2929
cache: 'pnpm'
3030

3131
- run: pnpm install --frozen-lockfile

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
permissions: write-all
1818
steps:
1919
- uses: actions/checkout@v3
20-
- uses: pnpm/action-setup@v2
21-
with:
22-
version: 7
20+
- uses: pnpm/action-setup@v4
21+
# with:
22+
# version: 7
2323
- uses: actions/setup-node@v3
2424
with:
2525
node-version: ${{ matrix.node }}

.github/workflows/size.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
CI_JOB_NUMBER: 1
88
steps:
99
- uses: actions/checkout@v3
10-
- uses: pnpm/action-setup@v2
11-
with:
12-
version: 7
10+
- uses: pnpm/action-setup@v4
11+
# with:
12+
# version: 7
1313
- uses: andresz1/size-limit-action@v1
1414
with:
1515
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
CI_JOB_NUMBER: 1
88
steps:
99
- uses: actions/checkout@v3
10-
- uses: pnpm/action-setup@v2
11-
with:
12-
version: 7
10+
- uses: pnpm/action-setup@v4
11+
# with:
12+
# version: 7
1313
- run: pnpm install --frozen-lockfile
1414
- run: pnpm build && pnpm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"dependencies": {
4343
"react": "^18.2.0"
4444
},
45-
"packageManager": "pnpm@8.12.0",
45+
"packageManager": "pnpm@10.0.0",
4646
"devDependencies": {
4747
"@changesets/cli": "^2.26.1",
4848
"@size-limit/preset-small-lib": "^8.2.4",

0 commit comments

Comments
 (0)