Skip to content

Implemented try-catch block statements for catching and handling errors #4226

Implemented try-catch block statements for catching and handling errors

Implemented try-catch block statements for catching and handling errors #4226

Workflow file for this run

name: "Coverage Badge"
on:
push:
branches-ignore:
- "renovate/**"
pull_request:
branches-ignore:
- "renovate/**"
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4.0.0
with:
version: 8.x.x
run_install: false
- run: pnpm install --frozen-lockfile
- run: pnpm test
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${{ secrets.CODECOV_TOKEN }}