Skip to content

Commit 169ac5a

Browse files
authored
Merge pull request #1398 from jrjohnson/update-node-version
Bump Minimum Node Version to 22
2 parents 39ef045 + 6159df1 commit 169ac5a

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: pnpm/action-setup@v4
2323
- uses: actions/setup-node@v6
2424
with:
25-
node-version: 18
25+
node-version: 22
2626
cache: pnpm
2727
- name: Install Dependencies
2828
run: pnpm install --frozen-lockfile
@@ -41,7 +41,7 @@ jobs:
4141
- uses: pnpm/action-setup@v4
4242
- uses: actions/setup-node@v6
4343
with:
44-
node-version: 18
44+
node-version: 22
4545
cache: pnpm
4646
- name: Install Dependencies
4747
run: pnpm install --no-lockfile
@@ -60,7 +60,7 @@ jobs:
6060
- uses: pnpm/action-setup@v4
6161
- uses: actions/setup-node@v6
6262
with:
63-
node-version: 18
63+
node-version: 22
6464
cache: pnpm
6565
- run: pnpm install --frozen-lockfile
6666
- name: Start the Percy Server
@@ -93,7 +93,7 @@ jobs:
9393
- uses: pnpm/action-setup@v4
9494
- uses: actions/setup-node@v6
9595
with:
96-
node-version: 18
96+
node-version: 22
9797
cache: pnpm
9898
- name: Install Dependencies
9999
run: pnpm install --frozen-lockfile

.github/workflows/push-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: pnpm/action-setup@v4
2323
- uses: actions/setup-node@v6
2424
with:
25-
node-version: 18
25+
node-version: 22
2626
cache: pnpm
2727
- name: Install Dependencies
2828
run: pnpm install --frozen-lockfile

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: pnpm/action-setup@v4
1717
- uses: actions/setup-node@v6
1818
with:
19-
node-version: 18
19+
node-version: 22
2020
registry-url: https://registry.npmjs.org/
2121
cache: pnpm
2222
- run: pnpm install --ignore-scripts

.github/workflows/update-pnpm-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup Node.js
1414
uses: actions/setup-node@v6
1515
with:
16-
node-version: 18
16+
node-version: 22
1717
- name: Get latest pnpm version
1818
run: |
1919
PNPM_VERSION="$(npm view pnpm version)" # get the latest version of pnpm from the registry

.github/workflows/update-transitive-dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: pnpm/action-setup@v4
1616
- uses: actions/setup-node@v6
1717
with:
18-
node-version: 18
18+
node-version: 22
1919
cache: pnpm
2020
- name: remove and re-create lock file
2121
run: |

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Simple charts for ember apps
1010

1111
- Ember.js v4.12 or above
1212
- Ember CLI v4.12 or above
13-
- Node.js v18 or above
13+
- Node.js v22 or above
1414

1515
## Installation
1616

@@ -30,21 +30,21 @@ export default class ChartController extends Controller {
3030
{
3131
label: 'Super Cool',
3232
data: 100,
33-
description: 'Lorem Ipsum'
33+
description: 'Lorem Ipsum',
3434
},
3535
{
3636
label: 'Very Cool',
3737
data: 200,
38-
description: 'Long text description here.'
38+
description: 'Long text description here.',
3939
},
4040
];
41-
};
41+
}
4242
```
4343

4444
Template:
4545

4646
```handlebars
47-
<SimpleChart @name='donut' @data={{this.donutData}} />
47+
<SimpleChart @name='donut' @data={{this.donutData}} />
4848
```
4949

5050
More examples can be found in this addons dummy application.

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
"webpack": "^5.97.1"
8585
},
8686
"engines": {
87-
"node": ">= 18",
88-
"pnpm": ">= 8"
87+
"node": ">= 22",
88+
"pnpm": ">= 10"
8989
},
9090
"ember": {
9191
"edition": "octane"

test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"webpack": "^5.97.1"
8383
},
8484
"engines": {
85-
"node": ">= 18"
85+
"node": ">= 22"
8686
},
8787
"ember": {
8888
"edition": "octane"

0 commit comments

Comments
 (0)