zot-wo-auth/.github/workflows/coverage.yml
Raul Kele f2ec10b16b patch: bump vulnerable dependencies (#442)
Signed-off-by: Raul-Cristian Kele <raulkeleblk@gmail.com>
2024-11-08 23:15:41 +03:00

36 lines
691 B
YAML

name: Running Code Coverage
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: make install
- name: Run the tests
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true