File tree Expand file tree Collapse file tree 5 files changed +16
-11
lines changed Expand file tree Collapse file tree 5 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 10
10
11
11
- uses : actions/setup-node@v2
12
12
with :
13
- node-version : 10 .x
13
+ node-version : 14 .x
14
14
cache : npm
15
15
16
16
- name : Validate cache
25
25
- uses : actions/checkout@v2
26
26
- uses : actions/setup-node@v2
27
27
with :
28
- node-version : 10 .x
28
+ node-version : 14 .x
29
29
cache : npm
30
30
- name : install
31
31
run : npm ci --loglevel verbose
41
41
- uses : actions/checkout@v2
42
42
- uses : actions/setup-node@v2
43
43
with :
44
- node-version : 10 .x
44
+ node-version : 14 .x
45
45
cache : npm
46
46
- name : install
47
47
run : npm ci --loglevel verbose
57
57
- uses : actions/checkout@v2
58
58
- uses : actions/setup-node@v2
59
59
with :
60
- node-version : 10 .x
60
+ node-version : 14 .x
61
61
cache : npm
62
62
- name : install
63
63
run : npm ci --loglevel verbose
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: "publish to NPM"
2
2
on :
3
3
push :
4
4
tags : ["*"]
5
-
6
- jobs :
5
+
6
+ jobs :
7
7
publish :
8
8
runs-on : " ubuntu-latest"
9
9
steps :
10
10
- uses : actions/checkout@v1
11
11
- uses : actions/setup-node@v1
12
12
with :
13
- node-version : 10
13
+ node-version : 14
14
14
- run : npm install
15
15
- run : npm test
16
16
- run : npm run-script build
19
19
uses : JS-DevTools/npm-publish@v1
20
20
with :
21
21
token : ${{ secrets.NPM_AUTH_TOKEN }}
22
-
22
+
23
23
- if : steps.publish.outputs.type != 'none'
24
24
run : |
25
25
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
Original file line number Diff line number Diff line change @@ -18,3 +18,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
18
- Removed unused ` nock ` dependency
19
19
20
20
### Breaking Changes
21
+
22
+ - Updated project to indicate support for Nodejs v14.x and above
Original file line number Diff line number Diff line change 7
7
### Prerequisites
8
8
9
9
```
10
- nodejs version 8 or higher
10
+ nodejs version 14 or higher
11
11
```
12
12
13
13
### Installation
14
14
15
15
```
16
- npm install --save git-parse
16
+ npm i git-parse
17
17
```
18
18
19
19
### Usage
Original file line number Diff line number Diff line change 61
61
],
62
62
"keywords" : [
63
63
" git"
64
- ]
64
+ ],
65
+ "engines" : {
66
+ "node" : " >=14"
67
+ }
65
68
}
You can’t perform that action at this time.
0 commit comments