mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-19 03:55:13 -04:00
* Reuse global scene between tests Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> * Add missing each method to mockContainer * Fix select-modifier-phase test * Sanitize overrides before tests Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> * Sanitize overrides before tests Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> * [WIP] fix things * Fix tests not working with --no-isolate * Update npm tests to use no isolate * Update test-shard-template * Update package.json Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --------- Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com> Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
21 lines
No EOL
529 B
YAML
21 lines
No EOL
529 B
YAML
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
biome-lint:
|
|
glob: "*.{js,jsx,ts,tsx}"
|
|
run: npx @biomejs/biome check --write --reporter=summary {staged_files} --no-errors-on-unmatched
|
|
stage_fixed: true
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
|
|
pre-push:
|
|
commands:
|
|
biome-lint:
|
|
glob: "*.{js,ts,jsx,tsx}"
|
|
run: npx @biomejs/biome check --reporter=summary {push_files} --no-errors-on-unmatched
|
|
|
|
post-merge:
|
|
commands:
|
|
update-submodules:
|
|
run: git submodule update --init --recursive |