Skip to content

Commit

Permalink
chore: configuring codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Mar 29, 2024
1 parent 0849327 commit 1e601bf
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
- name: Report Coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: 760097cb88b4c685dce427cf94a8e12a5f082774d06b4f4f5daef839ffc07821
CC_TEST_REPORTER_ID: 03d3b753352184e77df4c96aaef330a330eca28118a2a6da010b305f12216f45
with:
coverageCommand: pnpm run lcov
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,7 @@ dist
.yarn/install-state.gz
.pnp.*

public
public

test/reports/*
!test/reports/.keep
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[![NPM downloads](https://img.shields.io/npm/dm/@bbc/cloudflare-queue-consumer.svg?style=flat)](https://npmjs.org/package/@bbc/cloudflare-queue-consumer)
[![Build Status](https://github.com/bbc/cloudflare-queue-consumer/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/bbc/cloudflare-queue-consumer/actions/workflows/test.yml)
[![Maintainability](https://api.codeclimate.com/v1/badges/a0fcd77021e4f54ffdd4/maintainability)](https://codeclimate.com/github/bbc/cloudflare-queue-consumer/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/a0fcd77021e4f54ffdd4/test_coverage)](https://codeclimate.com/github/bbc/cloudflare-queue-consumer/test_coverage)

Build CloudFlare Queues applications without the boilerplate. Just define an async function that handles the message processing.

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"format:check": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
"test:unit": "node --import tsx --test ./test/unit/*.test.ts",
"test": "pnpm run test:unit && pnpm run lint && pnpm run format:check",
"lcov": "node --import tsx --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=test/reports/lcov.info ./test/unit/*.test.ts",
"generate-docs": "typedoc",
"dev": "DEBUG=cloudflare-queue-consumer tsx ./example/index.ts"
},
Expand Down
Empty file added test/reports/.keep
Empty file.

0 comments on commit 1e601bf

Please sign in to comment.