Skip to content

Replaced the deprecated Request package with the Fetch API and Added support for ACH payments to supported OZOW banks. #66

Replaced the deprecated Request package with the Fetch API and Added support for ACH payments to supported OZOW banks.

Replaced the deprecated Request package with the Fetch API and Added support for ACH payments to supported OZOW banks. #66

Workflow file for this run

name: Review changes on Dev (Commits/PRs)
on:
push:
branches: ['dev']
pull_request:
types:
- opened
jobs:
code-check:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: 16
- uses: actions/checkout@v2
- name: 'Cache node_modules'
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-v${{ matrix.node }}-
- name: Install Dependencies
run: |
npm install
- name: run unit tests and coverage scan
env:
PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
run: npm run coverage
- name: upload coverage report to codecov
uses: codecov/codecov-action@v2
- name: push build status to Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: always()