-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 875 Bytes
/
coverage.yml
File metadata and controls
38 lines (33 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Coverage Report
on:
pull_request:
branches:
- main
- development
jobs:
coverage:
runs-on: ubuntu-latest
name: Coverage Report
permissions:
contents: "read"
id-token: "write"
pull-requests: "write"
checks: "write"
steps:
- name: "Checkout"
uses: actions/checkout@v5
- name: Set Node.js
uses: actions/setup-node@v5
with:
node-version: "22"
registry-url: https://npm.pkg.github.com
cache-dependency-path: package-lock.json
env:
RUNNER_TEMP: "/tmp/"
- name: Install Node Modules
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
custom-title: Coverage Report
test-script: npm run test:jest