Skip to content

Commit a563fb1

Browse files
authored
Merge pull request #1 from wsbrs/feature/ci-coveralls
Add github workflows
2 parents 078d424 + df46145 commit a563fb1

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
on: [ push, pull_request ]
3+
4+
env:
5+
COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
6+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: lts/*
16+
cache: yarn
17+
- run: yarn install
18+
- run: yarn run coveralls
19+
- name: Coveralls
20+
id: coveralls
21+
uses: coverallsapp/github-action@v2
22+

.istanbul.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
instrumentation:
2+
root: ./src
3+
include-all-sources: true
4+

0 commit comments

Comments
 (0)