Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #36

Merged
merged 2 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
branches: ['main']
pull_request:
branches: ['main']
workflow_dispatch:


jobs:
lint-job:
name: "Run linters"
Expand All @@ -28,11 +31,11 @@ jobs:
uses: actions/checkout@v4

- name: Run Linters
uses: pre-commit/[email protected].0
uses: pre-commit/[email protected].1

build:
runs-on: ubuntu-latest
name: Run unit tests and publish package on main
name: Run unit tests and report coverage
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -45,10 +48,14 @@ jobs:
- run: npm run build
- run: npm run coverage

- uses: 5monkeys/cobertura-action@v13
- uses: irongut/[email protected]
with:
path: coverage/cobertura-coverage.xml
minimum_coverage: 80
show_line: true
show_branch: true
fail_below_threshold: false
filename: coverage/cobertura-coverage.xml
badge: true
format: markdown
hide_complexity: true
indicators: true
output: both

- run: |
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
60 changes: 44 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"typescript": "^4.8.3"
},
"dependencies": {
"axios": "^0.27.2",
"axios": "^0.28.1",
"buffer": "^6.0.3",
"http-status-codes": "^2.3.0"
}
Expand Down