Skip to content

Commit 123eaf1

Browse files
authored
chore(package.json): upgrade react packages (#86)
* chore(package.json): upgrade react packages * chore(workflow): enable workflow * chore(workflow): add new paths * chore(workflow): cancel workflow when another in progress
1 parent 06f072f commit 123eaf1

File tree

4 files changed

+26
-19
lines changed

4 files changed

+26
-19
lines changed

.github/workflows/build-test-code.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ on:
44
pull_request:
55
branches: [main]
66
paths:
7-
- 'src/**'
8-
- '__tests__/**'
7+
- 'src/**'
8+
- '__tests__/**'
9+
- yarn.lock
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
914

1015
jobs:
1116
test_pull_request:
@@ -18,4 +23,4 @@ jobs:
1823
cache: 'yarn'
1924
- run: yarn install --frozen-lockfile
2025
- run: yarn run coverage
21-
- run: yarn run build
26+
- run: yarn run build

.github/workflows/publish-on-npm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Publish on NPM
33
on:
44
push:
55
branches: [main, beta]
6-
paths: 'src/**'
6+
paths:
7+
- 'src/**'
8+
- yarn.lock
79

810
jobs:
911
release:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"jest": "^27.5.1",
5454
"npm-run-all": "^4.1.5",
5555
"prettier": "^2.5.1",
56-
"react": "^18.0.0",
57-
"react-dom": "^18.0.0",
56+
"react": "^18.3.1",
57+
"react-dom": "^18.3.1",
5858
"rimraf": "^3.0.2",
5959
"rollup": "^2.70.0",
6060
"rollup-plugin-terser": "^7.0.2",

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6143,13 +6143,13 @@ rc@^1.2.8:
61436143
minimist "^1.2.0"
61446144
strip-json-comments "~2.0.1"
61456145

6146-
react-dom@^18.0.0:
6147-
version "18.0.0"
6148-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.0.0.tgz#26b88534f8f1dbb80853e1eabe752f24100d8023"
6149-
integrity sha512-XqX7uzmFo0pUceWFCt7Gff6IyIMzFUn7QMZrbrQfGxtaxXZIcGQzoNpRLE3fQLnS4XzLLPMZX2T9TRcSrasicw==
6146+
react-dom@^18.3.1:
6147+
version "18.3.1"
6148+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
6149+
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
61506150
dependencies:
61516151
loose-envify "^1.1.0"
6152-
scheduler "^0.21.0"
6152+
scheduler "^0.23.2"
61536153

61546154
react-error-boundary@^3.1.0:
61556155
version "3.1.4"
@@ -6168,10 +6168,10 @@ react-is@^17.0.1:
61686168
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
61696169
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
61706170

6171-
react@^18.0.0:
6172-
version "18.0.0"
6173-
resolved "https://registry.yarnpkg.com/react/-/react-18.0.0.tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96"
6174-
integrity sha512-x+VL6wbT4JRVPm7EGxXhZ8w8LTROaxPXOqhlGyVSrv0sB1jkyFGgXxJ8LVoPRLvPR6/CIZGFmfzqUa2NYeMr2A==
6171+
react@^18.3.1:
6172+
version "18.3.1"
6173+
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891"
6174+
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
61756175
dependencies:
61766176
loose-envify "^1.1.0"
61776177

@@ -6480,10 +6480,10 @@ saxes@^5.0.1:
64806480
dependencies:
64816481
xmlchars "^2.2.0"
64826482

6483-
scheduler@^0.21.0:
6484-
version "0.21.0"
6485-
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.21.0.tgz#6fd2532ff5a6d877b6edb12f00d8ab7e8f308820"
6486-
integrity sha512-1r87x5fz9MXqswA2ERLo0EbOAU74DpIUO090gIasYTqlVoJeMcl+Z1Rg7WHz+qtPujhS/hGIt9kxZOYBV3faRQ==
6483+
scheduler@^0.23.2:
6484+
version "0.23.2"
6485+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3"
6486+
integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
64876487
dependencies:
64886488
loose-envify "^1.1.0"
64896489

0 commit comments

Comments
 (0)