Skip to content

Commit

Permalink
Release v1.6.3
Browse files Browse the repository at this point in the history
- fix: run 'make dist' to update the action (#23)
- doc(README): update node versions
  • Loading branch information
msimerson authored Feb 8, 2024
1 parent 0190f31 commit e4322e3
Show file tree
Hide file tree
Showing 7 changed files with 2,325 additions and 13,133 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
### Unreleased


### [1.6.3] - 2024-02-07

- fix: run 'make dist' to update the action
- doc(README): update node versions


### [1.6.2] - 2024-02-07

- dep(actions/checkout): v3 -> v4
Expand Down Expand Up @@ -100,3 +106,4 @@ deps: bump versions, update dist
[1.6.0]: https://github.com/msimerson/node-lts-versions/releases/tag/1.6.0
[1.6.1]: https://github.com/msimerson/node-lts-versions/releases/tag/1.6.1
[1.6.2]: https://github.com/msimerson/node-lts-versions/releases/tag/1.6.2
[1.6.3]: https://github.com/msimerson/node-lts-versions/releases/tag/1.6.3
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2021, Matt Simerson
Copyright (c) 2024, Matt Simerson
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ At the time of writing, active=`[14,16,18]` and lts=`[14,16]`. Node.js v18 is du
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
node-version: [ 14, 16, 18 ]
node-version: [ 18, 20 ]
fail-fast: false
steps:
```
Expand Down Expand Up @@ -56,16 +56,16 @@ At the time of writing, active=`[14,16,18]` and lts=`[14,16]`. Node.js v18 is du
```sh
✗ node main.js
::setOutput name=active::["14","16","18"]
::setOutput name=lts::["16","18"]
::setOutput name=min::"16"
::setOutput name=active::["18", "20"]
::setOutput name=lts::["18", "20"]
::setOutput name=min::"18"
```

#### RAW

```js
const ltsv = require('node-lts-versions')
ltsv.fetch().then(() => {
ltsv.fetchLTS().then(() => {
console.log(ltsv.json())
console.log(ltsv.yaml())
ltsv.print()
Expand All @@ -81,23 +81,22 @@ Retrieves Node.js version information. Prints active LTS versions in several for
#### json

```json
["14","16","18"]
["18", "20"]
```

#### yaml

```yaml
[ '14', '16', '18' ]
[ '18', '20' ]
```

#### print

````
> Ver Codename Latest Release LTS Period
14 Fermium v14.19.3 2022-05-17 2020-10-27 to 2023-04-26
16 Gallium v16.15.0 2022-04-26 2021-10-26 to 2024-04-25
18 Hydrogen v18.12.0 2022-10-25 2022-04-18 to 2024-10-17
````
```
Ver Codename Latest Release LTS Period
18 Hydrogen v18.19.0 2023-11-29 2022-04-18 to 2024-10-17
20 Iron v20.11.0 2024-01-09 2023-04-17 to 2025-10-16
```

## Reference

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Node LTS versions
author: Matt Simerson
description: Get list of LTS node.js versions
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
outputs:
lts:
Expand Down
Loading

0 comments on commit e4322e3

Please sign in to comment.