mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-08 02:01: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:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
concurrency:
|
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
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
|
|
@ -15,6 +15,7 @@ coverage:
|
||||||
|
|
||||||
flag_management:
|
flag_management:
|
||||||
default_rules:
|
default_rules:
|
||||||
|
carryforward: true
|
||||||
statuses:
|
statuses:
|
||||||
- type: project
|
- type: project
|
||||||
target: auto
|
target: auto
|
||||||
|
|
|
@ -15,6 +15,8 @@ export default defineConfig({
|
||||||
'**/*.{interface,type,d}.ts',
|
'**/*.{interface,type,d}.ts',
|
||||||
// All index files that *should* only contain exports from other files
|
// All index files that *should* only contain exports from other files
|
||||||
'**/index.{js,ts}',
|
'**/index.{js,ts}',
|
||||||
|
// All exports files that make subpackages available as submodules
|
||||||
|
'**/exports/*.{js,ts}',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue