Skip to content

Commit

Permalink
Drop Node.js 12 support (#1219)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeAstapov authored Apr 24, 2022
1 parent cb17bf8 commit e8c04f2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
NODE_VERSION: 14
Expand All @@ -21,10 +21,10 @@ jobs:
timeout-minutes: 7
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
Expand All @@ -48,10 +48,10 @@ jobs:
timeout-minutes: 7
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
Expand All @@ -75,10 +75,10 @@ jobs:
timeout-minutes: 7
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
Expand Down Expand Up @@ -108,10 +108,10 @@ jobs:
timeout-minutes: 7
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
Expand All @@ -131,7 +131,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Check out a copy of the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Git user
run: |
Expand All @@ -144,7 +144,7 @@ jobs:
"$(git config --local --get http.https://github.com/.extraheader)"
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Compatibility

* Ember.js v3.24 or above
* Ember CLI v3.24 or above
* Node.js v12 or above
* Node.js v14 or above

The original maintainers of AddonDocs have moved on, but this addon is still very much actively maintained and is still being used by many addons.
We are currently working on embroider and fastboot support, and would love help, if anyone would like to help out!
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"ember-fetch": "^8.1.1"
},
"engines": {
"node": "12.* || 14.* || >= 16"
"node": "14.* || 16.* || >= 18"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down
5 changes: 1 addition & 4 deletions test-apps/new-addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,12 @@
"webpack": "*"
},
"engines": {
"node": "12.* || >= 14.*"
"node": "14.* || 16.* || >= 18"
},
"ember": {
"edition": "octane"
},
"ember-addon": {
"configPath": "tests/dummy/config"
},
"ember": {
"edition": "octane"
}
}

0 comments on commit e8c04f2

Please sign in to comment.