mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-05 08:11:19 +12:00
test: fix coverage reporting (#9148)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
parent
5c5a5832b9
commit
7f2ef962ec
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
@ -3,7 +3,8 @@ on:
|
|||
push:
|
||||
pull_request:
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
|
||||
# Group based on workflow name and PR if it exists, if no PR, let it run so carryforward flags work
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
tests:
|
||||
|
|
|
@ -15,6 +15,7 @@ coverage:
|
|||
|
||||
flag_management:
|
||||
default_rules:
|
||||
carryforward: true
|
||||
statuses:
|
||||
- type: project
|
||||
target: auto
|
||||
|
|
|
@ -15,6 +15,8 @@ export default defineConfig({
|
|||
'**/*.{interface,type,d}.ts',
|
||||
// All index files that *should* only contain exports from other files
|
||||
'**/index.{js,ts}',
|
||||
// All exports files that make subpackages available as submodules
|
||||
'**/exports/*.{js,ts}',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue