Skip to content

Commit f33eeb4

Browse files
thecampagnardskonstantin.sidorenko.ext
authored andcommitted
feat: add node version warning #223
1 parent 1565095 commit f33eeb4

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ jobs:
44
build:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
7+
- uses: actions/checkout@v4
88
- uses: actions/setup-node@v3
99
with:
10-
node-version: '18'
11-
cache: 'npm'
10+
node-version: "18"
11+
cache: "npm"
1212
- run: npm ci
1313
- run: npm link
1414
- run: node --check .
@@ -22,4 +22,4 @@ jobs:
2222
--release="1.0.0"
2323
--branch="${GITHUB_REF##*/}"
2424
--output="samples/sonar-report_sonar-report.html"
25-
--exit-code
25+
--exit-code

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Publish
32
on:
43
release:
@@ -7,12 +6,12 @@ jobs:
76
release:
87
runs-on: ubuntu-latest
98
steps:
10-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1110
- uses: actions/setup-node@v3
1211
with:
13-
node-version: '18'
14-
registry-url: 'https://registry.npmjs.org'
12+
node-version: "18"
13+
registry-url: "https://registry.npmjs.org"
1514
- run: npm ci
1615
- run: npm publish
1716
env:
18-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
17+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## Install
1111

12-
Compatible with node 10+ (tested with node 10 -> 18)
12+
Compatible with node 14+
1313

1414
```bash
1515
$ npm install -g sonar-report

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sonar-report",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"main": "index.js",
55
"author": "SopraSteria",
66
"bin": {
@@ -28,6 +28,6 @@
2828
"access": "public"
2929
},
3030
"engines": {
31-
"node": "^12.20.0 || >=14"
31+
"node": ">=14 <=20"
3232
}
3333
}

0 commit comments

Comments
 (0)