-
Notifications
You must be signed in to change notification settings - Fork 205
37 lines (30 loc) · 1023 Bytes
/
coveralls.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
name: Code coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
code-coverage-report:
name: Generate and upload coverage report
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Install Playwright
run: yarn playwright install
- name: Run unit tests with coverage
run: yarn test:ci --config web-test-runner.config.ci-chromium.js --group no-memory-ci --coverage
continue-on-error: true
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2