Skip to content

Commit 09ba51f

Browse files
authored
README.md: Encourage testing on current Node.js (#533)
1 parent b3ca1ac commit 09ba51f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ steps:
2222
- uses: actions/checkout@v3
2323
- uses: actions/setup-node@v3
2424
with:
25-
node-version: 14
25+
node-version: 16
2626
- run: npm ci
2727
- run: npm test
2828
```
@@ -39,8 +39,8 @@ The `node-version` input supports the Semantic Versioning Specification, for mor
3939

4040
Examples:
4141

42-
- Major versions: `12`, `14`, `16`
43-
- More specific versions: `10.15`, `14.2.0`, `16.3.0`
42+
- Major versions: `14`, `16`, `18`
43+
- More specific versions: `10.15`, `16.15.1` , `18.4.0`
4444
- NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n`
4545
- Latest release: `*` or `latest`/`current`/`node`
4646

@@ -71,7 +71,7 @@ steps:
7171
- uses: actions/checkout@v3
7272
- uses: actions/setup-node@v3
7373
with:
74-
node-version: 14
74+
node-version: 16
7575
cache: 'npm'
7676
- run: npm ci
7777
- run: npm test
@@ -84,7 +84,7 @@ steps:
8484
- uses: actions/checkout@v3
8585
- uses: actions/setup-node@v3
8686
with:
87-
node-version: 14
87+
node-version: 16
8888
cache: 'npm'
8989
cache-dependency-path: subdir/package-lock.json
9090
- run: npm ci
@@ -99,7 +99,7 @@ jobs:
9999
runs-on: ubuntu-latest
100100
strategy:
101101
matrix:
102-
node: [ 12, 14, 16 ]
102+
node: [ 14, 16, 18 ]
103103
name: Node ${{ matrix.node }} sample
104104
steps:
105105
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)