Skip to content

Commit

Permalink
Drop support for Node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
Shishouille committed Oct 3, 2023
1 parent a26fcb1 commit 36192d9
Show file tree
Hide file tree
Showing 44 changed files with 63 additions and 65 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'yarn'

- run: yarn install --frozen-lockfile --non-interactive
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'yarn'

- run: yarn install --frozen-lockfile --non-interactive
Expand All @@ -62,7 +62,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20]
node-version: [18, 20]
os: [ubuntu, windows]

steps:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'yarn'

- run: yarn install --frozen-lockfile --non-interactive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- run: yarn install --frozen-lockfile --non-interactive

Expand Down
12 changes: 6 additions & 6 deletions blueprints/addon/files/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- uses: actions/checkout@v3<% if (pnpm) { %>
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 16<% } else { %>
node-version: 18<% } else { %>
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: <%= yarn ? 'yarn' : 'npm' %>
- name: Install Dependencies
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
Expand All @@ -43,11 +43,11 @@ jobs:
- uses: actions/checkout@v3<% if (pnpm) { %>
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 16
node-version: 18
no-lockfile: true<% } else { %>
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: <%= yarn ? 'yarn' : 'npm' %>
- name: Install Dependencies
run: <%= yarn ? 'yarn install --no-lockfile' : 'npm install --no-shrinkwrap' %><% } %>
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
- uses: actions/checkout@v3<% if (pnpm) { %>
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 16<% } else { %>
node-version: 18<% } else { %>
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: <%= yarn ? 'yarn' : 'npm' %>
- name: Install Dependencies
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
Expand Down
2 changes: 1 addition & 1 deletion blueprints/addon/files/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: node_js
node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- "16"
- "18"

dist: xenial

Expand Down
2 changes: 1 addition & 1 deletion blueprints/addon/files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

* Ember.js v4.8 or above
* Ember CLI v4.8 or above
* Node.js v16 or above
* Node.js v18 or above


## Installation
Expand Down
4 changes: 2 additions & 2 deletions blueprints/app/files/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: <%= yarn ? 'yarn' : 'npm' %>
- name: Install Dependencies
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: <%= yarn ? 'yarn' : 'npm' %>
- name: Install Dependencies
run: <%= yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %><% } %>
Expand Down
2 changes: 1 addition & 1 deletion blueprints/app/files/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
language: node_js
node_js:
- "16"
- "18"

dist: xenial

Expand Down
2 changes: 1 addition & 1 deletion blueprints/app/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"webpack": "^5.88.2"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
4 changes: 1 addition & 3 deletions docs/node-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
| 12.x | 3.10.0 - 4.6.0 |
| 13.x | 3.15.0 - 3.20.0 |
| 14.x | 3.19.0 - 5.0.0 |
| 16.x | 3.28.0 - Current |
| 16.x | 3.28.0 - 5.3.0 |
| 18.x | 4.6.0 - Current |
| 20.x | 5.4.0 - Current |

Expand All @@ -32,8 +32,6 @@ Node.js](https://github.com/nodejs/LTS#lts_schedule).

## Current support:

* v16: Released as stable version then converted to LTS.
* Supported by ember-cli/ember-cli#master until: 2023-09-11.
* v18: Released as stable version.
* Supported by ember-cli/ember-cli#master until: 2025-04-30.
* v20: Released as stable version.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"yuidocjs": "0.10.2"
},
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand All @@ -172,7 +172,7 @@
}
},
"volta": {
"node": "16.19.1",
"node": "18.12.0",
"yarn": "1.22.19"
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/addon/defaults-travis/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: node_js
node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- "16"
- "18"

dist: xenial

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/defaults-travis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Compatibility

* Ember.js v4.8 or above
* Ember CLI v4.8 or above
* Node.js v16 or above
* Node.js v18 or above


Installation
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/defaults-travis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"stylelint-prettier": "^2.0.0"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
6 changes: 3 additions & 3 deletions tests/fixtures/addon/defaults/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- name: Install Dependencies
run: npm install --no-shrinkwrap
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/defaults/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

* Ember.js v4.8 or above
* Ember CLI v4.8 or above
* Node.js v16 or above
* Node.js v18 or above


## Installation
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/defaults/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"ember-source": ">= 4.0.0"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
6 changes: 3 additions & 3 deletions tests/fixtures/addon/pnpm/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 16
node-version: 18
- name: Lint
run: pnpm lint
- name: Run Tests
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 16
node-version: 18
no-lockfile: true
- name: Run Tests
run: pnpm test:ember
Expand All @@ -63,6 +63,6 @@ jobs:
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 16
node-version: 18
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
2 changes: 1 addition & 1 deletion tests/fixtures/addon/pnpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

* Ember.js v4.8 or above
* Ember CLI v4.8 or above
* Node.js v16 or above
* Node.js v18 or above


## Installation
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/pnpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"ember-source": ">= 4.0.0"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"ember-source": ">= 4.0.0"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
6 changes: 3 additions & 3 deletions tests/fixtures/addon/yarn/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: yarn
- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: yarn
- name: Install Dependencies
run: yarn install --no-lockfile
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: yarn
- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/yarn/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: node_js
node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- "16"
- "18"

dist: xenial

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/yarn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

* Ember.js v4.8 or above
* Ember CLI v4.8 or above
* Node.js v16 or above
* Node.js v18 or above


## Installation
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/addon/yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"ember-source": ">= 4.0.0"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/app/defaults/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/app/defaults/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"webpack": "^5.88.2"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/app/embroider-no-welcome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"webpack": "^5.88.2"
},
"engines": {
"node": "16.* || >= 18"
"node": ">= 18"
},
"ember": {
"edition": "octane"
Expand Down
Loading

0 comments on commit 36192d9

Please sign in to comment.