Skip to content

fix(objectionary#745): Remove node dependency from package-lock.json #17

fix(objectionary#745): Remove node dependency from package-lock.json

fix(objectionary#745): Remove node dependency from package-lock.json #17

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2022-2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: codecov
'on':
push:
branches:
- master
concurrency:
group: codecov-${{ github.ref }}
cancel-in-progress: true
jobs:
codecov:
name: Coverage
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
- name: Install dependencies
run: npm install
- name: Install coverage tools
run: npm install --save-dev nyc
- name: Run tests with coverage
run: npm run coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage/lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
if: github.ref == 'refs/heads/master'