Skip to content

Commit

Permalink
chore: ci coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Apr 27, 2023
1 parent ff9ffc8 commit 50ff8de
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 18

Expand All @@ -34,10 +34,14 @@ jobs:
CI: true

- name: Test
run: npm run test --ci --coverage --maxWorkers=2
run: npm run test
env:
CI: true

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
CI: true

- name: Build
run: npm run build
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
Expand Down
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
testEnvironment: 'node',
preset: 'ts-jest',
collectCoverage: true,
coverageReporters: ['text', 'cobertura'],
roots: ['<rootDir>/src'],
};
2 changes: 1 addition & 1 deletion src/client/lcd/api/AllianceAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface AllianceParams {

/**
* Last application of `take_rate` on assets
* @format date-time
* @format date-time from golang
*/
last_take_rate_claim_time?: string;
}
Expand Down

0 comments on commit 50ff8de

Please sign in to comment.