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 #190 from Nike-Inc/feature/update-dependency-in-ce…
Browse files Browse the repository at this point in the history
…rberus-node-client-CERB-1381

bump dependancies
  • Loading branch information
shawn-sher authored Jun 23, 2022
2 parents 72f80b8 + c97b717 commit f900074
Show file tree
Hide file tree
Showing 4 changed files with 7,195 additions and 10,963 deletions.
12 changes: 6 additions & 6 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: [12.x, 14.x]
node-version: [12.x, 14.x, 16.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 == '14.x' }}
if: ${{ matrix.node-version == '16.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 == '14.x' }}
if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '16.x' }}
run: npm run generate-docs
- name: Deploy 🚀
if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '14.x' }}
if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '16.x' }}
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -47,12 +47,12 @@ jobs:
CLEAN: true # Automatically remove deleted files from the deploy branch
- name: Slack notification when build fails
if: ${{ failure() && github.ref == 'refs/heads/master'}}
uses: rtCamp/action-slack-notify@v2.1.0
uses: rtCamp/action-slack-notify@v2.2.0
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cerberus-alerts
SLACK_MESSAGE: 'Cerberus release workflow has failed :build-failed:'
SLACK_ICON: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
SLACK_TITLE: Cerberus Node Client Build Failure Notification
SLACK_COLOR: '#FF0000'
SLACK_USERNAME: GitHub Actions
SLACK_USERNAME: GitHub Actions
10 changes: 5 additions & 5 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: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -28,26 +28,26 @@ jobs:
- run: npm install
- run: npm run test:unit:local
- name: Upload coverage report to CodeCov
if: ${{ matrix.node-version == '14.x' }}
if: ${{ matrix.node-version == '16.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 == '14.x' }}
if: ${{ matrix.node-version == '16.x' }}
run: |
echo "Preparing .npmrc"
echo '//registry.npmjs.org/:_authToken=${{secrets.NPM_AUTH_TOKEN}}' > .npmrc
echo 'registry=https://registry.npmjs.org' >> .npmrc
npm publish --otp=$(oathtool -b --totp ${{secrets.NPM_OTP}})
- name: Slack notification when build fails
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2.1.0
uses: rtCamp/action-slack-notify@v2.2.0
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cerberus-alerts
SLACK_MESSAGE: 'Cerberus release workflow has failed :build-failed:'
SLACK_ICON: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
SLACK_TITLE: Cerberus Build Failure Notification
SLACK_USERNAME: GitHub Actions
SLACK_USERNAME: GitHub Actions
Loading

0 comments on commit f900074

Please sign in to comment.