PHP 8.2.30
Preview: change-review.yml Size: 1.23 KB
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/flutterwave-node-v3/.github/workflows/change-review.yml

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@v4
        with:
          node-version: 18

      - uses: actions/checkout@v4

      - name: 'Cache node_modules'
        uses: actions/cache@v4
        with:
          path: ~/.npm
          key: ${{ runner.os }}-node-v18-${{ hashFiles('**/package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-node-v18-

      - 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@v4

      - 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()

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
1.23 KB lrw-r--r-- 2026-02-21 00:54:24
Edit Download
1.68 KB lrw-r--r-- 2026-02-21 00:54:24
Edit Download
732 B lrw-r--r-- 2026-02-21 00:54:24
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).