diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 3d7b943..0000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,44 +0,0 @@ ---- - -name: coverage - -on: - push: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - name: coverage - - strategy: - matrix: - node-version: [16.x] - - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: Setup Node ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - always-auth: false - node-version: ${{ matrix.node-version }} - - - name: Run npm install - run: npm install - - - name: Run Tests - run: npm run test:coverage - - - name: Generate LCOV - run: npm run coveralls - - - name: Update Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - if: success() diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml deleted file mode 100644 index 407f53e..0000000 --- a/.github/workflows/linting.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- - -name: Linting and Types - -on: - pull_request: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - name: Linting and Types - - strategy: - matrix: - node-version: [16.x] - - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: Setup Node ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - always-auth: false - node-version: ${{ matrix.node-version }} - - - name: Run npm install - run: npm install - - - name: Run lint:everything - run: npm run lint:everything diff --git a/README.md b/README.md index d7c542b..3259578 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@
[![Build Status](https://github.com/fastify/busboy/actions/workflows/ci.yml/badge.svg)](https://github.com/fastify/busboy/actions) -[![Coverage Status](https://coveralls.io/repos/fastify/busboy/badge.svg?branch=master)](https://coveralls.io/r/fastify/busboy?branch=master) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/) [![Security Responsible Disclosure](https://img.shields.io/badge/Security-Responsible%20Disclosure-yellow.svg)](https://github.com/fastify/.github/blob/main/SECURITY.md) diff --git a/package.json b/package.json index 9c9b9f0..10d1848 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,11 @@ "bench:dicer": "node bench/dicer/dicer-bench-multipart-parser.js", "coveralls": "nyc report --reporter=lcov", "lint": "npm run lint:standard", - "lint:everything": "npm run lint && npm run test:types", "lint:fix": "standard --fix", "lint:standard": "standard --verbose | snazzy", "test:unit": "c8 --statements 98 --branches 97 --functions 96 --lines 98 node --test", "test:types": "tsd", - "test:coverage": "nyc npm run test", - "test": "npm run test:unit" + "test": "npm run test:unit && npm run test:types" }, "devDependencies": { "@types/node": "^22.0.0",