Skip to content

Commit 54c201b

Browse files
committed
👲 chore: bump packages
1 parent c50b8fb commit 54c201b

3 files changed

Lines changed: 483 additions & 676 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,38 @@ name: build and publish
55

66
on:
77
release:
8-
types: [ created ]
8+
types: [created]
99

1010
jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
16-
with:
17-
node-version: 20
18-
- run: yarn install
19-
- run: yarn test:ci
14+
- uses: actions/checkout@v3
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
version: 8
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 22
21+
cache: "pnpm"
22+
- run: pnpm install
23+
- run: pnpm test:ci
2024

2125
publish-npm:
2226
needs: test
2327
runs-on: ubuntu-latest
2428
steps:
25-
- uses: actions/checkout@v3
26-
- uses: actions/setup-node@v3
27-
with:
28-
node-version: 20
29-
registry-url: https://registry.npmjs.org/
30-
- run: yarn install
31-
- run: yarn build
32-
- run: yarn publish
33-
env:
34-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
29+
- uses: actions/checkout@v3
30+
- uses: pnpm/action-setup@v4
31+
with:
32+
version: 8
33+
- uses: actions/setup-node@v3
34+
with:
35+
node-version: 22
36+
registry-url: https://registry.npmjs.org/
37+
cache: "pnpm"
38+
- run: pnpm install --strict-peer-dependencies=false
39+
- run: pnpm build
40+
- run: pnpm publish
41+
env:
42+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@
1717
"devDependencies": {
1818
"@swc/core": "^1.3.101",
1919
"@testing-library/jest-dom": "^6.1.5",
20-
"@testing-library/react": "^14.1.2",
21-
"@types/node": "^8.0.31",
22-
"jsdom": "^23.0.1",
23-
"react-dom": "^18.2.0",
24-
"rimraf": "^5.0.5",
20+
"@testing-library/react": "^16.3.0",
21+
"@types/node": "^22.15.21",
22+
"@types/react": "^19.1.5",
23+
"jsdom": "^26.1.0",
24+
"react-dom": "^19.1.0",
25+
"rimraf": "^6.0.1",
2526
"rollup-plugin-swc": "^0.2.1",
2627
"typescript": "5.3.3",
27-
"vitest": "^1.1.0"
28+
"vitest": "^3.1.4"
2829
},
2930
"dependencies": {
3031
"@universal-di/core": "^1.0.3",
31-
"react": "^19.0.0"
32+
"react": "^19.1.0"
3233
},
3334
"bugs": {
3435
"url": "https://github.com/universal-di/react/issues"

0 commit comments

Comments
 (0)