mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-02 17:10:08 +00:00
* feat: add @discordjs/util * fix: builders test * refactor: make rest use lazy for ESM import * chore: make requested changes * Apply suggestions from code review Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com> Co-authored-by: A. Román <kyradiscord@gmail.com> * chore: make requested changes and add tests * chore: regen lockfile * test: add type tests * chore: push missing files * chore: make requested changes * chore: update CI stuff * chore: fix lockfile * chore: make requested changes Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com> Co-authored-by: A. Román <kyradiscord@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
65 lines
1.9 KiB
YAML
65 lines
1.9 KiB
YAML
name: 'Upload Coverage'
|
|
description: 'Uploads code coverage reports to codecov with separate flags for separate packages'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Upload Builders Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/builders/coverage/cobertura-coverage.xml
|
|
flags: builders
|
|
|
|
- name: Upload Collection Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/collection/coverage/cobertura-coverage.xml
|
|
flags: collection
|
|
|
|
- name: Upload Discord.js Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/discord.js/coverage/cobertura-coverage.xml
|
|
flags: discord.js
|
|
|
|
- name: Upload Proxy Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/proxy/coverage/cobertura-coverage.xml
|
|
flags: proxy
|
|
|
|
- name: Upload Rest Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/rest/coverage/cobertura-coverage.xml
|
|
flags: rest
|
|
|
|
- name: Upload Voice Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/voice/coverage/cobertura-coverage.xml
|
|
flags: voice
|
|
|
|
- name: Upload Website Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/website/coverage/cobertura-coverage.xml
|
|
flags: website
|
|
|
|
- name: Upload WS Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/ws/coverage/cobertura-coverage.xml
|
|
flags: ws
|
|
|
|
- name: Upload Util Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/util/coverage/cobertura-coverage.xml
|
|
flags: util
|
|
|
|
- name: Upload Utilities Coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
files: ./packages/actions/coverage/cobertura-coverage.xml, ./packages/scripts/coverage/cobertura-coverage.xml
|
|
flags: utilities
|