Skip to content

Merge pull request #753 from hed-standard/dependabot/github_actions/m… #356

Merge pull request #753 from hed-standard/dependabot/github_actions/m…

Merge pull request #753 from hed-standard/dependabot/github_actions/m… #356

Workflow file for this run

name: Test coverage
on:
push:
branches: [main]
permissions:
contents: read
jobs:
Coverage:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Check out the code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Set up with Node.js LTS
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
- name: Download dependencies
run: npm ci
- name: Generate coverage report
run: ./node_modules/.bin/jest --coverage
- name: Upload coverage to Quality
uses: qltysh/qlty-action/coverage@fd52dc852530a708d68c3b7342f8d33d1df4cd55 # v2
with:
oidc: true
files: coverage/lcov.info