diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 57c477f..92359be 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/setup-node@v2 with: - node-version: 10.x + node-version: 14.x cache: npm - name: Validate cache @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 10.x + node-version: 14.x cache: npm - name: install run: npm ci --loglevel verbose @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 10.x + node-version: 14.x cache: npm - name: install run: npm ci --loglevel verbose @@ -57,7 +57,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 10.x + node-version: 14.x cache: npm - name: install run: npm ci --loglevel verbose diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dc01c0..01ba6ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,15 +2,15 @@ name: "publish to NPM" on: push: tags: ["*"] - -jobs: + +jobs: publish: runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: 10 + node-version: 14 - run: npm install - run: npm test - run: npm run-script build @@ -19,7 +19,7 @@ jobs: uses: JS-DevTools/npm-publish@v1 with: token: ${{ secrets.NPM_AUTH_TOKEN }} - + - if: steps.publish.outputs.type != 'none' run: | echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index a763cbf..0e49245 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,3 +18,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed unused `nock` dependency ### Breaking Changes + +- Updated project to indicate support for Nodejs v14.x and above diff --git a/README.md b/README.md index 5dbf579..9c4b74b 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@ ### Prerequisites ``` -nodejs version 8 or higher +nodejs version 14 or higher ``` ### Installation ``` - npm install --save git-parse +npm i git-parse ``` ### Usage diff --git a/package.json b/package.json index d42a33a..d8ead0f 100644 --- a/package.json +++ b/package.json @@ -61,5 +61,8 @@ ], "keywords": [ "git" - ] + ], + "engines": { + "node": ">=14" + } }