Skip to content

Commit a9202cd

Browse files
committed
Fix node version for action runner
1 parent 7b40808 commit a9202cd

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,22 @@ jobs:
2222
- name: Setup Node
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 20
25+
node-version: 24
2626
cache: yarn
2727
registry-url: https://registry.npmjs.org
2828

29+
- name: Update npm for OIDC trusted publishing
30+
run: npm install -g npm@latest
31+
32+
- name: Verify toolchain versions
33+
run: node -v && npm -v && yarn -v
34+
2935
- name: Install dependencies
3036
run: yarn install --frozen-lockfile
3137

38+
- name: Run tests
39+
run: yarn test
40+
3241
- name: Create release PR or publish
3342
uses: changesets/action@v1
3443
with:

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
"@types/node": "^22.10.0",
5151
"@types/react": "^19.0.0",
5252
"jsdom": "^29.0.2",
53+
"react": "^19.2.5",
54+
"react-dom": "^19.2.5",
5355
"tsup": "^8.5.1",
5456
"typescript": "~5.7.0",
5557
"vitest": "^4.1.2"

yarn.lock

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2555,11 +2555,23 @@ rbush@^4.0.1:
25552555
dependencies:
25562556
quickselect "^3.0.0"
25572557

2558+
react-dom@^19.2.5:
2559+
version "19.2.5"
2560+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.2.5.tgz#b8768b10837d0b8e9ca5b9e2d58dff3d880ea25e"
2561+
integrity sha512-J5bAZz+DXMMwW/wV3xzKke59Af6CHY7G4uYLN1OvBcKEsWOs4pQExj86BBKamxl/Ik5bx9whOrvBlSDfWzgSag==
2562+
dependencies:
2563+
scheduler "^0.27.0"
2564+
25582565
react-is@^17.0.1:
25592566
version "17.0.2"
25602567
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
25612568
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
25622569

2570+
react@^19.2.5:
2571+
version "19.2.5"
2572+
resolved "https://registry.yarnpkg.com/react/-/react-19.2.5.tgz#c888ab8b8ef33e2597fae8bdb2d77edbdb42858b"
2573+
integrity sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==
2574+
25632575
read-yaml-file@^1.1.0:
25642576
version "1.1.0"
25652577
resolved "https://registry.yarnpkg.com/read-yaml-file/-/read-yaml-file-1.1.0.tgz#9362bbcbdc77007cc8ea4519fe1c0b821a7ce0d8"
@@ -2667,6 +2679,11 @@ saxes@^6.0.0:
26672679
dependencies:
26682680
xmlchars "^2.2.0"
26692681

2682+
scheduler@^0.27.0:
2683+
version "0.27.0"
2684+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.27.0.tgz#0c4ef82d67d1e5c1e359e8fc76d3a87f045fe5bd"
2685+
integrity sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==
2686+
26702687
semver@^7.5.3, semver@^7.7.3:
26712688
version "7.7.4"
26722689
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.4.tgz#28464e36060e991fa7a11d0279d2d3f3b57a7e8a"

0 commit comments

Comments
 (0)