-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (31 loc) · 845 Bytes
/
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
name: ci
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["2.1.X"]
steps:
- name: clone repository
uses: actions/checkout@v4
- name: install deno
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.version }}
- name: run checks
run: deno task check
- name: run tests
continue-on-error: true
run: deno task test:ci
- name: upload test results
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: generate coverage report
run: deno task coverage
- name: upload coverage
uses: codecov/codecov-action@v5
with:
files: ./cov.lcov
token: ${{ secrets.CODECOV_TOKEN }}