From c2f36ea5af4bf1e6a550fcd37106146078f8cf20 Mon Sep 17 00:00:00 2001 From: Khiet Tam Nguyen Date: Tue, 17 Oct 2023 16:08:32 +1100 Subject: [PATCH] All badges from jewire and sync-request-curl added --- .deepsource.toml | 10 ++++++++++ .github/workflows/pipeline.yml | 24 ++++++++++++------------ README.md | 14 +++++++------- 3 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .deepsource.toml diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000..2a6900d --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,10 @@ +version = 1 + +[[analyzers]] +name = "javascript" + + [analyzers.meta] + environment = [ + "nodejs", + "jest" + ] \ No newline at end of file diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index bce7ea6..3b4b3d4 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -38,15 +38,15 @@ jobs: - name: Run tests with coverage run: npm test -- --coverage - # - name: Upload coverage reports to Codecov - # uses: codecov/codecov-action@v3 - # env: - # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - # - name: Publish coverage - # uses: paambaati/codeclimate-action@v3.2.0 - # env: - # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - # with: - # coverageLocations: | - # ${{github.workspace}}/coverage/lcov.info:lcov + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + - name: Publish coverage + uses: paambaati/codeclimate-action@v3.2.0 + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + with: + coverageLocations: | + ${{github.workspace}}/coverage/lcov.info:lcov diff --git a/README.md b/README.md index 7d09a12..e87147a 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ [![pipeline](https://github.com/nktnet1/import-sync/actions/workflows/pipeline.yml/badge.svg)](https://github.com/nktnet1/import-sync/actions/workflows/pipeline.yml)   - +  [![GitHub top language](https://img.shields.io/github/languages/top/nktnet1/import-sync)](https://github.com/search?q=repo%3Anktnet1%2Fimport-sync++language%3ATypeScript&type=code) [![NPM Version](https://img.shields.io/npm/v/import-sync?logo=npm)](https://www.npmjs.com/package/import-sync?activeTab=versions) @@ -24,14 +24,14 @@   [![GitHub issues](https://img.shields.io/github/issues/nktnet1/import-sync.svg?style=social)](https://github.com/nktnet1/import-sync/issues) - [![GitHub stars](https://img.shields.io/github/stars/nktnet1/import-sync.svg?style=social)](https://github.com/nktnet1/import-sync/stargazers) [![Downloads Total](https://badgen.net/npm/dt/import-sync)](https://moiva.io/?npm=import-sync)