Skip to content

Commit 4af9baf

Browse files
authored
fix: Use Node.js 20 in publish.yml
Node.js 16 has been end-of-life’d for more than a year. This PR updates the publish workflow to use Node.js 20, the Active LTS, instead. #117 updated a package so that `structuredClone` is now called. That API did not exist in Node.js 16, so updating to a newer version avoids workflow failures.
1 parent 9ecd452 commit 4af9baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 16
16+
node-version: 20
1717
registry-url: https://registry.npmjs.org/
1818
cache: npm
1919
- run: npm ci

0 commit comments

Comments
 (0)