Skip to content

Commit

Permalink
feat(node-versions): defined the supported node ranges
Browse files Browse the repository at this point in the history
BREAKING CHANGE: node version support is now limited to v18.17 in the v18 range and above v20.6.1
  • Loading branch information
travi committed Sep 24, 2023
1 parent 15d7c6b commit 1183b41
Show file tree
Hide file tree
Showing 4 changed files with 6,293 additions and 2,385 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ env:
FORCE_COLOR: 1
NPM_CONFIG_COLOR: always
jobs:
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18.17.0
- 20.6.1
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm clean-install
- run: npm audit signatures
- run: npm test
verify:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,6 +45,7 @@ jobs:
release:
needs:
- verify
- verify-matrix
permissions:
contents: write
id-token: write
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ just use Chance.js directly?
[![monthly downloads](https://img.shields.io/npm/dm/@travi/any.svg?style=flat)](https://www.npmjs.com/package/@travi/any)
[![license](https://img.shields.io/github/license/travi/any.svg?style=flat)](LICENSE)
[![Try @travi/any on RunKit](https://badge.runkitcdn.com/@travi/any.svg)](https://npm.runkit.com/@travi/any)
![node][node-badge]

<!--consumer-badges end -->

Expand Down Expand Up @@ -108,3 +109,5 @@ the appropriate types to satisfy the tests.
[semantic-release-link]: https://github.com/semantic-release/semantic-release

[semantic-release-badge]: https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release

[node-badge]: https://img.shields.io/node/v/@travi/any?logo=node.js
Loading

0 comments on commit 1183b41

Please sign in to comment.