Skip to content

Commit

Permalink
Upgrade Node.js version to 20 (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
takurinton authored Oct 18, 2023
1 parent 061a4ff commit 353fc55
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-pumpkins-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ingred-ui": major
---

drop Node.js version under 16
4 changes: 2 additions & 2 deletions .github/actions/setup-yarn/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ runs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- name: install
shell: bash
run: make -f ci.mk install
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build]
publish = "storybook-static"
command = "yarn build-storybook"
environment = { NODE_VERSION = "18" }
environment = { NODE_VERSION = "20" }

[[headers]]
for = "/*"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": "^16.x || >=18.0.0"
"node": "^18.x || >=20.0.0"
},
"scripts": {
"test": "cross-env CI=1 jest --runInBand",
Expand Down

0 comments on commit 353fc55

Please sign in to comment.