Skip to content

Commit

Permalink
feat(node-versions): dropped support for EOL versions
Browse files Browse the repository at this point in the history
BREAKING CHANGE: versions of node that have reached EOL are no longer supported
  • Loading branch information
travi committed Feb 3, 2022
1 parent 2dfffa5 commit cae9dd9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ jobs:
with:
node-version-file: .nvmrc
cache: npm
- run: npm install
- run: npm clean-install
- run: npm test
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- '10.0.0'
- 12
- '12.0.0'
- 14
- 16
steps:
Expand All @@ -40,7 +39,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm install
- run: npm clean-install
- run: npx ls-engines
- run: npm test
trigger-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version-file: .nvmrc
cache: npm
- run: npm install
- run: npm clean-install
- run: npm install semantic-release @traverson/semantic-release-config --no-save
- name: semantic-release
run: npx semantic-release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"browser/"
],
"engines": {
"node": ">= 10"
"node": "^12 || ^14 || >=16"
},
"author": {
"name": "Bastian Krol",
Expand Down
6 changes: 4 additions & 2 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A Hypermedia API/HATEOAS Client for Node.js and the Browser
-----------------------------------------------------------

[![Node CI Workflow Status][github-actions-ci-badge]][github-actions-ci-link]

![node][node-badge]
[![NPM](https://nodei.co/npm/traverson.png?downloads=true&stars=true)](https://nodei.co/npm/traverson/)
[![Greenkeeper badge](https://badges.greenkeeper.io/traverson/traverson.svg)](https://greenkeeper.io/)

Expand Down Expand Up @@ -74,4 +74,6 @@ MIT

[github-actions-ci-link]: https://github.com/traverson/traverson/actions?query=workflow%3A%22Node.js+CI%22+branch%3Amaster

[github-actions-ci-badge]: https://github.com/traverson/traverson/workflows/Node.js%20CI/badge.svg
[github-actions-ci-badge]: https://github.com/traverson/traverson/workflows/Node.js%20CI/badge.svg

[node-badge]: https://img.shields.io/node/v/traverson.svg?logo=node.js

0 comments on commit cae9dd9

Please sign in to comment.