-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
34 lines (28 loc) · 773 Bytes
/
coverage-win.yml
File metadata and controls
34 lines (28 loc) · 773 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
name: Code Coverage (win)
on:
workflow_call:
permissions:
contents: read
jobs:
check-coverage:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: package.json
check-latest: true
- name: Install
run: |
npm install --ignore-scripts
# Here, we verify the coverage thresholds so that this workflow can pass
# or fail and stop further workflows if this one fails.
- name: Verify coverage meets thresholds
run: |
npm run coverage:ci-check-coverage