-
Notifications
You must be signed in to change notification settings - Fork 10
34 lines (34 loc) · 1.02 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
name: Upload test coverage to coveralls
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
# This should match the hostname of the endpoint used to record the pollyjs test
# This shouldn't be a valid endpoint URL, the auth token should be redacted
QUICKNODE_ENDPOINT_URL: ${{ secrets.QUICKNODE_ENDPOINT_URL }}
QUICKNODE_SOLANA_ENDPOINT_URL: ${{ secrets.QUICKNODE_SOLANA_ENDPOINT_URL }}
jobs:
libs-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install dependencies
run: yarn install --immutable
- name: Run Test Coverage
run: npx nx run libs-sdk:test-coverage
- run: ls packages/libs/sdk/coverage
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1
with:
path-to-lcov: packages/libs/sdk/coverage/lcov.info
flag-name: sdk