-
Notifications
You must be signed in to change notification settings - Fork 135
45 lines (37 loc) · 971 Bytes
/
e2e.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
45
name: e2e
on:
push:
branches:
- "*"
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [20.x]
# Uncomment and replace with current `os` when windows-run bug is fixed
# os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: "npm"
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Test
run: npm t -- --collectCoverage e2e
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./test-reports/coverage
env_vars: OS
fail_ci_if_error: false
flags: generator
name: codecov-umbrella
verbose: true