Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #89 from Nike-Inc/feat/update-node-version
Browse files Browse the repository at this point in the history
updating node version
  • Loading branch information
jiangha4 authored Apr 8, 2021
2 parents 8450e95 + fbb1746 commit c719ff3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cerberus-node-client",
"version": "3.2.5",
"version": "3.3.5",
"description": "Node client for Cerberus Key Mgmt",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit c719ff3

Please sign in to comment.