-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 796 Bytes
/
Copy pathci.yml
File metadata and controls
41 lines (33 loc) · 796 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
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
checks:
# Ignore the heap-code bot commits
if: ${{ github.actor != vars.HC_BOT }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install packages
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Tests
run: npm run test:coverage -- --ci
- name: Comments coverage
run: npm run compodoc:coverage