-
-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (46 loc) · 1.29 KB
/
coveralls.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
49
50
51
52
name: "Crypto Service Suite CI"
on:
pull_request:
branches:
- "*"
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- run: echo ${{github.ref}}
- uses: actions/checkout@v2
- name: Build on Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install -g pnpm
pnpm install
pnpm run build
pnpm run test
- name: Testing & Coverage
run: |
npm run test
- name: Coveralls Crypto-Cli
uses: coverallsapp/github-action@master
with:
base-path: packages/crypto-cli
flag-name: crypto-cli
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
path-to-lcov: ./packages/crypto-cli/coverage/lcov.info
- name: Coveralls Crypto-Lib
uses: coverallsapp/github-action@master
with:
base-path: packages/crypto-lib
flag-name: crypto-lib
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
path-to-lcov: ./packages/crypto-lib/coverage/lcov.info