Skip to content

Commit

Permalink
fix: Use Node.js 20 in publish.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
smockle authored Sep 16, 2024
1 parent 9ecd452 commit 4af9baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
Expand Down

0 comments on commit 4af9baf

Please sign in to comment.