-
-
Notifications
You must be signed in to change notification settings - Fork 14
44 lines (37 loc) · 980 Bytes
/
ci_coverage-osx.yml
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
39
40
41
42
43
44
name: '🍎 CI — Coverage'
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
osx:
runs-on: macos-latest
timeout-minutes: 5
strategy:
fail-fast: false
name: macOS
steps:
- name: ➕ Actions - Checkout
uses: actions/checkout@v4
- name: ➕ Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-osx-${{ hashFiles('package-lock.json') }}
restore-keys: npm-osx-
- name: ➕ Actions - Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: 📦 Installing Dependencies
run: npm ci
- name: 🧪 Checking for Coverage
run: npm run test:c8
- name: ☔️ Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: osx
name: codecov-umbrella-osx