diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-08-02 13:48:09 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-08-02 13:48:31 +0100 |
| commit | c0fc6ce8cd5d3687073c863046ab2e2313d1b5bb (patch) | |
| tree | 89b4d04c5b727743ad5c742b270b361badd55a8d /CONTRIBUTING.md | |
| parent | fix mfm→sfm (diff) | |
| download | sharkey-c0fc6ce8cd5d3687073c863046ab2e2313d1b5bb.tar.gz sharkey-c0fc6ce8cd5d3687073c863046ab2e2313d1b5bb.tar.bz2 sharkey-c0fc6ce8cd5d3687073c863046ab2e2313d1b5bb.zip | |
update testing instructions
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c31d925991..7a017ca7cc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -609,12 +609,16 @@ seems to do a decent job) NOTE: `ti-fw` is a special class that's defined by Misskey, leave it alone - after every change, re-build the frontend and check again, until + after every change, re-build the frontend and check again, until there are no more `ti-*` classes in the built files -* run tests `pnpm test` and fix as much as you can - * right now `megalodon` doesn't pass its tests, you probably need to - run `pnpm --filter=backend test` (requires a test database, [see - above](#testing)) and `pnpm --filter=frontend test` + + commit! +* double-check the new migration, that they won't conflict with our db + changes: `git diff develop -- packages/backend/migration/` +* `pnpm clean; pnpm build` +* run tests `pnpm --filter='!megalodon' test` (requires a test + database, [see above](#testing)) and fix as much as you can + * right now `megalodon` doesn't pass its tests, so we skip them * run lint `pnpm --filter=backend lint` + `pnpm --filter=frontend eslint` and fix as much as you can |