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 1010
1111 - uses : actions/setup-node@v2
1212 with :
13- node-version : 10 .x
13+ node-version : 14 .x
1414 cache : npm
1515
1616 - name : Validate cache
2525 - uses : actions/checkout@v2
2626 - uses : actions/setup-node@v2
2727 with :
28- node-version : 10 .x
28+ node-version : 14 .x
2929 cache : npm
3030 - name : install
3131 run : npm ci --loglevel verbose
4141 - uses : actions/checkout@v2
4242 - uses : actions/setup-node@v2
4343 with :
44- node-version : 10 .x
44+ node-version : 14 .x
4545 cache : npm
4646 - name : install
4747 run : npm ci --loglevel verbose
5757 - uses : actions/checkout@v2
5858 - uses : actions/setup-node@v2
5959 with :
60- node-version : 10 .x
60+ node-version : 14 .x
6161 cache : npm
6262 - name : install
6363 run : npm ci --loglevel verbose
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: "publish to NPM"
22on :
33 push :
44 tags : ["*"]
5-
6- jobs :
5+
6+ jobs :
77 publish :
88 runs-on : " ubuntu-latest"
99 steps :
1010 - uses : actions/checkout@v1
1111 - uses : actions/setup-node@v1
1212 with :
13- node-version : 10
13+ node-version : 14
1414 - run : npm install
1515 - run : npm test
1616 - run : npm run-script build
1919 uses : JS-DevTools/npm-publish@v1
2020 with :
2121 token : ${{ secrets.NPM_AUTH_TOKEN }}
22-
22+
2323 - if : steps.publish.outputs.type != 'none'
2424 run : |
2525 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
1818- Removed unused ` nock ` dependency
1919
2020### 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 77### Prerequisites
88
99```
10- nodejs version 8 or higher
10+ nodejs version 14 or higher
1111```
1212
1313### Installation
1414
1515```
16- npm install --save git-parse
16+ npm i git-parse
1717```
1818
1919### Usage
Original file line number Diff line number Diff line change 6161 ],
6262 "keywords" : [
6363 " git"
64- ]
64+ ],
65+ "engines" : {
66+ "node" : " >=14"
67+ }
6568}
You can’t perform that action at this time.
0 commit comments