-
Notifications
You must be signed in to change notification settings - Fork 31
43 lines (34 loc) · 798 Bytes
/
coverage.yml
File metadata and controls
43 lines (34 loc) · 798 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
42
43
---
name: coverage
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: coverage
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
always-auth: false
node-version: ${{ matrix.node-version }}
- name: Run npm install
run: npm install
- name: Run Tests
run: npm run test:coverage
env:
CI: true
- name: Update Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
if: success()