-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (37 loc) · 989 Bytes
/
validation.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
name: Validation
on:
push:
branches: ['main', '1.3', '2.0', '2.1', '2.2', '2.3', '24.4']
paths-ignore:
- 'README.md'
- '.github/ISSUE_TEMPLATE/*'
pull_request:
branches: ['main', '1.3', '2.0', '2.1', '2.2', '2.3', '24.4']
paths-ignore:
- 'README.md'
- '.github/ISSUE_TEMPLATE/*'
jobs:
test:
name: Validation
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Install Chrome
uses: browser-actions/setup-chrome@v1
- name: Checkout Project Code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Validate
run: npm run validate
- name: Test
run: npm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@v3
with:
files: .coverage/lcov.info
flags: unittests