-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (35 loc) · 918 Bytes
/
extra-ci.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
46
47
48
name: ExtraCI
on:
push:
jobs:
calc-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Node.js 20.x
uses: actions/[email protected]
with:
node-version: 20.x
- name: Install packages
run: npm ci
- name: Calculate coverage
run: npx jest --coverage=true
extra-node-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [18.x, 21.x, 22.x]
os: [ubuntu-22.04]
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: npm ci
- name: Run tests
run: npx jest