Skip to content

Commit 10775ad

Browse files
authored
fix release job, add react 19 as peer dependency (#608)
* fix release job, add react 19 as peer dependency * upgrade artifact upload github action
1 parent ae05005 commit 10775ad

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.changeset/grumpy-tigers-build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@paypal/react-paypal-js": patch
3+
---
4+
5+
minor fixes to release and adding react 19 as peer dependency

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: ▶️ Run Playwright tests
4040
run: npm run test:e2e
4141

42-
- uses: actions/upload-artifact@v3
42+
- uses: actions/upload-artifact@v4
4343
if: always()
4444
with:
4545
name: playwright-report

packages/react-paypal-js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
"typescript": "^4.7.2"
104104
},
105105
"peerDependencies": {
106-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
107-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
106+
"react": "^16.8.0 || ^17 || ^18 || ^19",
107+
"react-dom": "^16.8.0 || ^17 || ^18 || ^19"
108108
},
109109
"jest": {
110110
"transformIgnorePatterns": [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
33
"include": ["src"],
4-
"exclude": ["src/stories"]
4+
"exclude": ["src/stories", "src/**/*.test.ts", "src/**/*.test.tsx"]
55
}

scripts/check-node-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { join } = require("path");
33
const semver = require("semver");
44

55
const expectedNodeVersion = readFileSync(
6-
join(__dirname, "../", ".nvmrc"),
6+
join(__dirname, "../../", ".nvmrc"),
77
"utf-8",
88
);
99
const isValidNodeVersion = semver.satisfies(

0 commit comments

Comments
 (0)