-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 874 Bytes
/
ci-coverage.yml
File metadata and controls
43 lines (34 loc) · 874 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
39
40
41
42
43
name: CI (dev with coverage)
on:
push:
branches: [dev]
paths-ignore:
- '**.md'
permissions:
contents: read
env:
NODE_VERSION: 24.11.0
YARN_VERSION: 4.12.0
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ./.github/setup
with:
node-version: ${{ env.NODE_VERSION }}
yarn-version: ${{ env.YARN_VERSION }}
- name: Build shared packages
run: yarn build:shared
- name: Unit tests with coverage
run: yarn test --coverage
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage/**
if-no-files-found: ignore
retention-days: 7