Skip to content

Commit baee1e8

Browse files
committed
add Node v23 to CI
1 parent e3c4d16 commit baee1e8

File tree

8 files changed

+750
-4919
lines changed

8 files changed

+750
-4919
lines changed

.github/workflows/node.js.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# See: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
1+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
22

33
name: Node.js CI
44

@@ -11,11 +11,12 @@ on:
1111
jobs:
1212
build:
1313

14-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
1515

1616
strategy:
1717
matrix:
18-
node-version: [12, 14, 16, 18, 20, 22]
18+
os: [ubuntu-latest, windows-latest]
19+
node-version: [12, 14, 16, 18, 20, 22, 23]
1920

2021
steps:
2122
- uses: actions/checkout@v4
@@ -25,5 +26,5 @@ jobs:
2526
node-version: ${{ matrix.node-version }}
2627
cache: 'npm'
2728
- run: npm install
28-
- name: Run tests
29-
run: npm run test:ci
29+
- run: npm i -g @75lb/nature
30+
- run: npm run test:ci

.gitignore

-4
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-24 Lloyd Brookes <75pound@gmail.com>
3+
Copyright (c) 2014-24 Lloyd Brookes <opensource@75lb.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ const optionDefinitions = [
3232
```
3333

3434
Next, parse the options using [commandLineArgs()](https://github.com/75lb/command-line-args/blob/master/doc/API.md#commandlineargsoptiondefinitions-options--object-):
35+
3536
```js
36-
const commandLineArgs = require('command-line-args')
37+
import commandLineArgs from 'command-line-args'
3738
const options = commandLineArgs(optionDefinitions)
3839
```
3940

4041
`options` now looks like this:
42+
4143
```js
4244
{
4345
src: [
@@ -98,7 +100,8 @@ There is plenty more to learn, please see [the wiki](https://github.com/75lb/com
98100
```sh
99101
$ npm install command-line-args --save
100102
```
101-
102103
* * *
103104

104-
&copy; 2014-24 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown).
105+
&copy; 2014-24 [Lloyd Brookes](https://github.com/75lb) \<opensource@75lb.com\>.
106+
107+
Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).

0 commit comments

Comments
 (0)