Skip to content

Commit

Permalink
chore: update node engines to support v20 (#1888)
Browse files Browse the repository at this point in the history
Co-authored-by: Julian Skinner <[email protected]>
  • Loading branch information
ju-Skinner and kajabi-bot authored May 16, 2024
1 parent d5efb6e commit 4cd1b72
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
NODE_VERSION: ${{ matrix.node-version }}
run: |
if [[ $NODE_VERSION == '18' ]]; then
if (( $NODE_VERSION >= 18 )); then
NODE_OPTIONS=--openssl-legacy-provider npm install -g yarn
else
npm install -g yarn
Expand All @@ -34,7 +34,7 @@ jobs:
env:
NODE_VERSION: ${{ matrix.node-version }}
run: |
if [[ $NODE_VERSION == '18' ]]; then
if (( $NODE_VERSION >= 18 )); then
NODE_OPTIONS=--openssl-legacy-provider yarn install
else
yarn install
Expand All @@ -45,7 +45,7 @@ jobs:
env:
NODE_VERSION: ${{ matrix.node-version }}
run: |
if [[ $NODE_VERSION == '18' ]]; then
if (( $NODE_VERSION >= 18 )); then
NODE_OPTIONS=--openssl-legacy-provider yarn lint
else
yarn lint
Expand All @@ -55,7 +55,7 @@ jobs:
env:
NODE_VERSION: ${{ matrix.node-version }}
run: |
if [[ $NODE_VERSION == '18' ]]; then
if (( $NODE_VERSION >= 18 )); then
NODE_OPTIONS=--openssl-legacy-provider yarn test
else
yarn test
Expand All @@ -65,7 +65,7 @@ jobs:
env:
NODE_VERSION: ${{ matrix.node-version }}
run: |
if [[ $NODE_VERSION == '18' ]]; then
if (( $NODE_VERSION >= 18 )); then
NODE_OPTIONS=--openssl-legacy-provider yarn build
else
yarn build
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test": "test"
},
"engines": {
"node": "16.x || 18.x",
"node": "16.x || 18.x || 20.x",
"npm": "8.x",
"yarn": "1.x"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sassdoc/*"
],
"engines": {
"node": "16.x || 18.x",
"node": "16.x || 18.x || 20.x",
"npm": "8.x",
"yarn": "1.x"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-packs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"packs"
],
"engines": {
"node": "16.x || 18.x",
"node": "16.x || 18.x || 20.x",
"npm": "8.x",
"yarn": "1.x"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"url": "https://github.com/Kajabi/sage-lib/issues"
},
"engines": {
"node": "16.x || 18.x",
"node": "16.x || 18.x || 20.x",
"npm": "8.x",
"yarn": "1.x"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sage-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dist/*"
],
"engines": {
"node": "16.x || 18.x",
"node": "16.x || 18.x || 20.x",
"npm": "8.x",
"yarn": "1.x"
},
Expand Down

0 comments on commit 4cd1b72

Please sign in to comment.