From de8d606ae26c7e34168f0febdc81601ab14951fa Mon Sep 17 00:00:00 2001 From: Haohan Jiang Date: Wed, 7 Apr 2021 10:50:45 -0700 Subject: [PATCH 1/2] updating node version --- .github/workflows/build.yml | 8 ++++---- .github/workflows/release.yml | 6 +++--- README.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2acac3..6a0d4ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [12.x, 14.x] steps: - uses: actions/checkout@v2 @@ -28,17 +28,17 @@ jobs: - run: npm install - run: npm run test:unit:local - name: Upload coverage report to CodeCov - if: ${{ matrix.node-version == '10.x' }} + if: ${{ matrix.node-version == '12.x' }} uses: codecov/codecov-action@v1 with: file: coverage/clover.xml # optional fail_ci_if_error: true # optional (default = false) verbose: true - name: Build Documentation - if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '10.x' }} + if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '12.x' }} run: npm run generate-docs - name: Deploy 🚀 - if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '10.x' }} + if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '12.x' }} uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 087b363..4c890b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [12.x, 14.x] steps: - uses: actions/checkout@v2 @@ -28,14 +28,14 @@ jobs: - run: npm install - run: npm run test:unit:local - name: Upload coverage report to CodeCov - if: ${{ matrix.node-version == '10.x' }} + if: ${{ matrix.node-version == '12.x' }} uses: codecov/codecov-action@v1 with: file: coverage/clover.xml # optional fail_ci_if_error: true # optional (default = false) verbose: true - name: Publish to NPM - if: ${{ matrix.node-version == '10.x' }} + if: ${{ matrix.node-version == '12.x' }} run: | echo "Preparing .npmrc" echo '//registry.npmjs.org/:_authToken=${{secrets.NPM_AUTH_TOKEN}}' > .npmrc diff --git a/README.md b/README.md index 49679ff..d8b8694 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is a node client for interacting with a Cerberus backend. It can be used in To learn more about Cerberus, please visit the [Cerberus website](http://engineering.nike.com/cerberus/). -This library is compatible with node 10.x +, for previous versions of Node use the [1.x versions of the client](https://github.com/Nike-Inc/cerberus-node-client/tree/1.X_kms_client) +This library is compatible with node 12.x +, for previous versions of Node use the [1.x versions of the client](https://github.com/Nike-Inc/cerberus-node-client/tree/1.X_kms_client) ![Node.js CI](https://github.com/Nike-Inc/cerberus-node-client/workflows/Build/badge.svg) [![codecov](https://codecov.io/gh/Nike-Inc/cerberus-node-client/branch/master/graph/badge.svg)](https://codecov.io/gh/Nike-Inc/cerberus-node-client) [![NPM][npm img]][npm] [![License][license img]][license] diff --git a/package-lock.json b/package-lock.json index a057b03..96647a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cerberus-node-client", - "version": "3.2.4", + "version": "3.2.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 80ff7ed..77cf0e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cerberus-node-client", - "version": "3.2.5", + "version": "3.2.6", "description": "Node client for Cerberus Key Mgmt", "main": "index.js", "types": "index.d.ts", From fbb17465ab5686e9c1165f38553714902b9fd15b Mon Sep 17 00:00:00 2001 From: Haohan Jiang Date: Thu, 8 Apr 2021 13:32:07 -0700 Subject: [PATCH 2/2] updated minor version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 96647a7..be2e95e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cerberus-node-client", - "version": "3.2.6", + "version": "3.3.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 77cf0e2..7c30ff7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cerberus-node-client", - "version": "3.2.6", + "version": "3.3.5", "description": "Node client for Cerberus Key Mgmt", "main": "index.js", "types": "index.d.ts",